CVE Catalog

CVE-2026-140359

LowCVSS 2.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

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.

Risk Assessment

This can lead to memory corruption and crashes of applications using the ImageMagick API. In extreme cases, it may be exploited for further attacks.

Recommendation

Update ImageMagick to version 6.9.13-61 or 7.1.2-36 (or later). Restrict API access to untrusted input.

Other vulnerabilities in ImageMagick

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS