Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-31 and 6.9.13-56, unescaped or untrimmed values can inject code into output generated by PostScript coders. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-94 — CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 6.9.13-56 [affected]; >= 7.0.0, < 7.1.2-31 [affected] |
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5rg6-j44q-q892 (x_refsource_CONFIRM)
- https://github.com/ImageMagick/ImageMagick/commit/2ba2edfd04a1ab3d45af4a0dc1e640dde7020192 (x_refsource_MISC)
- https://github.com/ImageMagick/ImageMagick/commit/78378cd623468760bee82a5930cb3011725916f8 (x_refsource_MISC)
- https://github.com/ImageMagick/ImageMagick6/commit/879489740daa44dd72e9405b26c845e8aa3d2f53 (x_refsource_MISC)
- https://github.com/ImageMagick/ImageMagick6/commit/d5750d7309ef5a8cd561430d932a183e4168f484 (x_refsource_MISC)
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31 (x_refsource_MISC)
- https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 08 Oct 2026 07:49 UTC.