Servers and applications
CVE-2026-25797
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…
- Severity
- Medium 5.3
- Published
- 24 Feb 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 6.9.13-40, 7.1.2-15
- Exploit chance
- 0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Code injection (CWE-94)
- Attack
- Needs local access · Needs a user account · No user action needed
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Sources
- NVD
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.
Affected software
| Software | Affected versions |
|---|---|
ImageMagickServers and applications · cpe:a:imagemagick:imagemagick |
|
About ImageMagick
free and open-source software
- GitHub stars
- 17,859GitHub, 15 Nov 2026
- Forks
- 1,706GitHub, 15 Nov 2026
- Latest release
- 7.1.2-35GitHub, 15 Nov 2026
- Released
- 31 Oct 2026GitHub
- Developer
- ImageMagick Studio LLCWikidata
- License
- ImageMagick LicenseWikidata
- Written in
- CWikidata
- First released
- 1990Wikidata
- First published on GitHub
- 17 May 2015GitHub
Vulnerabilities in ImageMagick
- In our list
- 1,030
- Published in the last 12 months
- 371
- Critical, last 12 months
- 11
- High, last 12 months
- 52
- Known exploited
- 3
- CVE-2026-130670ImageMagick before 7.1.2-35 Heap Buffer Over-Read via BGRO Data ImportMedium 4.8 18 Nov 2026
- CVE-2026-130669ImageMagick before 7.1.2-35 Null Pointer Dereference via -subimage OptionMedium 4.8 18 Nov 2026
- CVE-2026-130668ImageMagick before 7.1.2-35 Double Free via DPC Compare MetricLow 2.0 18 Nov 2026
- CVE-2026-130667ImageMagick before 7.1.2-35 Heap Buffer Over-Read in TIFF DecoderMedium 4.8 18 Nov 2026
- CVE-2026-130666ImageMagick before 7.1.2-35 Policy Bypass via XMP ProfileMedium 6.9 18 Nov 2026
- CVE-2026-130665ImageMagick before 7.1.2-35 Use After Free in EXR DecoderMedium 6.3 18 Nov 2026