{"id":"CVE-2026-140359","aliases":["CVE-2026-140359"],"related":[],"kind":"vulnerability","state":"published","title":"ImageMagick before 7.1.2-36 Heap Buffer Overflow via ShearRotateImage","summary":"ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash 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 ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash the application.","source":"cvelist"}],"published":"2026-12-01T14:30:03.688Z","modified":"2026-12-01T15:17:58.360Z","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-131"],"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-8xm2-q8hq-m68q","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-via-shearrotateimage","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["occia","0xyj"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140359","url":"https://www.cve.org/CVERecord?id=CVE-2026-140359","licence":"CVE Terms of Use","modified":"2026-12-01T14:30:03.688Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140359","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140359","licence":"Public domain","modified":"2026-12-01T15:17:58.360Z"}],"updatedAt":"2026-12-01T15:32:18.905Z"}