{"id":"CVE-2026-140366","aliases":["CVE-2026-140366"],"related":[],"kind":"vulnerability","state":"published","title":"ImageMagick before 7.1.2-36 Heap Buffer Overflow via C++ readImages and montage","summary":"ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can trigger the out-of-bounds write, corrupting heap memory and potentially crashing the application.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can trigger the out-of-bounds write, corrupting heap memory and potentially crashing the application.","source":"cvelist"}],"published":"2026-12-01T14:29:52.766Z","modified":"2026-12-01T16:18:18.313Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":2,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":2,"rating":"LOW"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","score":2.5,"rating":"LOW"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"7.0.0","fixed":"7.1.2-36","status":"affected"},{"type":"semver","version":"7.1.2-36","status":"unaffected"}],"vendor":"ImageMagick","product":"ImageMagick","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"6.9.13-61","status":"affected"},{"type":"semver","version":"6.9.13-61","status":"unaffected"}],"vendor":"ImageMagick","product":"ImageMagick","source":"cvelist"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j4x4-q2rm-qxjf","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-via-c-readimages-and-montage","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["thesecguy45"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T15:07:39.402Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140366","url":"https://www.cve.org/CVERecord?id=CVE-2026-140366","licence":"CVE Terms of Use","modified":"2026-12-01T15:07:45.994Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140366","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140366","licence":"Public domain","modified":"2026-12-01T16:18:18.313Z"}],"updatedAt":"2026-12-01T16:32:16.001Z"}