CVE-2026-25965: ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy
Vulnerability summary
CVE-2026-25965 is a high (CVSS 8.6) vulnerability in imagemagick. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 55.8% of scored vulnerabilities.
Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 6Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied. Actions to prevent reading from files have been taken in versions .7.1.2-15 and 6.9.13-40 But it make sure writing is also not possible the following should be added to one's policy. This will also be included in ImageMagick's more secure policies by default.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · NugetEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.75% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
NuGet19 products
- Magick.NET-Q16-AnyCPU< 14.10.3
- Magick.NET-Q16-arm64< 14.10.3
- Magick.NET-Q16-HDRI-AnyCPU< 14.10.3
- Magick.NET-Q16-HDRI-arm64< 14.10.3
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.10.3
Alpine1 product
- imagemagick≥ 7.0.0-0, < 7.1.2.15-r0 | < 7.1.2.15-r0
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u7 | < 8:7.1.1.43+dfsg1-1+deb13u6 | < 8:7.1.2.15+dfsg1-1
Imagemagick1 product
- imagemagick≥ 7.0.0, < 7.1.2-15 | < 6.9.13-40 | ≥ 7.0.0-0, < 7.1.2-15
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.13+esm21 | < 8:6.8.9.9-7ubuntu5.16+esm20 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm12 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9 | < 8:7.1.2.3+dfsg1-1ubuntu0.1
5 vendors · 23 products
References
13 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8jvj-p28h-9gm7X Refsource CONFIRMREPORTWEBThird Party Advisory