CVE-2026-140359

low

Description

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.

References

https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-heap-buffer-overflow-via-shearrotateimage

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8xm2-q8hq-m68q

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140194

Details

Source: Mitre, NVD

Published: 2026-12-01

Updated: 2026-12-02

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 2.5

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Severity: Low

CVSS v4

Base Score: 2

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

Severity: Low

EPSS

EPSS: 0.002