CVE-2026-140359

LOWCVSS 2.5/10EPSS 0.20%

Last modified

CVE-2026-140359 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
ImageMagickImageMagick>= 7.0.0, < 7.1.2-36
ImageMagickImageMagick< 6.9.13-61

References

Timeline

Published
Last Modified
Status
Undergoing Analysis

Frequently Asked Questions

What is CVE-2026-140359?
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.
How severe is CVE-2026-140359?
CVE-2026-140359 has a CVSS score of 2.5/10 (LOW severity). The EPSS model estimates a 0.20% probability of exploitation in the next 30 days.
How do I fix CVE-2026-140359?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-140359?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST