CVE-2026-25797ImageMagick vulnerable to Code injection via PostScript header in ps coders
- 5.7MediumCVSS base score
- 0.28%Exploitation in 30 daysEPSS · top 79% 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, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript header. An attacker can provide a malicous file and inject arbitrary PostScript code. When the resulting file is processed by a printer or a viewer (like Ghostscript), the injected code is interpreted and executed. The html encoder does not properly escape strings that are written to in the html document. An attacker can provide a malicious file and injection arbitrary html code. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Timeline
ID reserved
By GitHub_M
- 19 days later
· 19 days later
Published
- 2 days later
· 2 days 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 | Medium5.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L |
| NVDNVD · Analyzed | 3.1 | Medium5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.28% · top 79% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.7.
Affected products
- affected >= 7.0.0, < 7.1.2-15
- affected < 6.9.13-40
Affected packages
Affected packages18
From reviewed advisories of the GitHub Advisory Database.
- NuGetMagick.NET-Q16-AnyCPUGHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-AnyCPUGHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-arm64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-x64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-arm64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x86GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-arm64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x86GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-arm64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q16-x86GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q8-AnyCPUGHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-arm64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-x64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q8-arm64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q8-x64GHSA-rw6c-xp26-225v (opens in a new tab)
- NuGetMagick.NET-Q8-x86GHSA-rw6c-xp26-225v (opens in a new tab)
References
References1
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-7445 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rw6c-xp26-225v (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-25797)Record last updated .