CVE-2026-25965: imagemagick Path Traversal
Vulnerability summary
CVE-2026-25965 is a high (CVSS 8.6) Path Traversal vulnerability in imagemagick. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 56.1% of scored vulnerabilities.
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
5 scores · 5 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
EPSS trend
Probability
0.81%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
+0.14 pp
From 0.67% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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
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
4 vendors · 22 products
References
12 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8jvj-p28h-9gm7X Refsource CONFIRMREPORTWEBThird Party Advisory