Home › CVE › Vulnerabilities
CVE-2026-140371 — ImageMagick
One of 27 ImageMagick vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an information disclosure vulnerability in the DJVU decoder, which can expose uninitialized memory when decoding a crafted image. Attackers can supply a malicious DJVU file for processing to leak uninitialized memory contents that may include sensitive process data.
Severity breakdown
Medium · 6.3
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-908: Use of Uninitialized Resource
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| ImageMagick | ≥ 7.0.0, < 7.1.2-36 | 7.1.2-36 |
| ImageMagick | < 6.9.13-61 | 6.9.13-61 |
References by type
Vendor advisories
Other references
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-140371?
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an information disclosure vulnerability in the DJVU decoder, which can expose uninitialized memory when decoding a crafted image. Attackers can supply a malicious DJVU file for processing to leak uninitialized memory contents that may include sensitive process data. Weakness type: Use of Uninitialized Resource (CWE-908).
How severe is CVE-2026-140371?
CVE-2026-140371 has a CVSS 4.0 base score of 6.3 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-140371 being exploited?
Not as far as is known: CVE-2026-140371 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-140371?
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-140371?
Update to a fixed release: ImageMagick 7.1.2-36; ImageMagick 6.9.13-61.