Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-140359 — ImageMagick

Low · CVSS 2.0 First seen December 01, 2026

One of 27 ImageMagick vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Low · 2.0 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
high (only works under specific conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
yes, a user must view or visit something
Impact
low on availability, none on confidentiality and integrity
Impact on other systems
none

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 2.5 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Weakness

  • CWE-131: Incorrect Calculation of Buffer Size

Affected and fixed versions

ProductAffected versionsFixed in
ImageMagick≥ 7.0.0, < 7.1.2-367.1.2-36
ImageMagick< 6.9.13-616.9.13-61

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • ImageMagick

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

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. Weakness type: Incorrect Calculation of Buffer Size (CWE-131).

How severe is CVE-2026-140359?

CVE-2026-140359 has a CVSS 4.0 base score of 2.0 (low), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.

Is CVE-2026-140359 being exploited?

Not as far as is known: CVE-2026-140359 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.

Which versions are affected by CVE-2026-140359?

ImageMagick ≥ 7.0.0, < 7.1.2-36 (fixed in 7.1.2-36); ImageMagick < 6.9.13-61 (fixed in 6.9.13-61).

How do I fix CVE-2026-140359?

Update to a fixed release: ImageMagick 7.1.2-36; ImageMagick 6.9.13-61.

Timeline & sources

References