CVE-2026-25965ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy
- 8.6HighCVSS base score
- 0.75%Exploitation in 30 daysEPSS · top 45% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 15 days later
· 15 days later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| redhat-SADPADP (enrichment) | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.75% · top 45% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Affected products
- affected >= 7.0.0, < 7.1.2-15
- affected < 6.9.13-40
Affected packages
Affected packages19
From reviewed advisories of the GitHub Advisory Database.
- NuGetMagick.NET-Q16-AnyCPUGHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-AnyCPUGHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-arm64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-x64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-arm64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x86GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-arm64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x86GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-arm64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-x64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q16-x86GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q8-AnyCPUGHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-arm64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-x64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q8-arm64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q8-x64GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- NuGetMagick.NET-Q8-x86GHSA-8jvj-p28h-9gm7 (opens in a new tab)
References
References5
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8jvj-p28h-9gm7 (opens in a new tab)x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-25965 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2442118 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25965.json (opens in a new tab)x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:5573 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-7438 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8jvj-p28h-9gm7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-25965)Record last updated .