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.
Fix
Patch, vendor advisory and mitigation references on NVD 7
- https://github.com/ImageMagick/ImageMagick/commit/2ba2edfd04a1ab3d45af4a0dc1e640dde7020192 Patch
- https://github.com/ImageMagick/ImageMagick/commit/78378cd623468760bee82a5930cb3011725916f8 Patch
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31 Patch, Release Notes
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5rg6-j44q-q892 Vendor Advisory
- https://github.com/ImageMagick/ImageMagick6/commit/879489740daa44dd72e9405b26c845e8aa3d2f53 Patch
- https://github.com/ImageMagick/ImageMagick6/commit/d5750d7309ef5a8cd561430d932a183e4168f484 Patch
- https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56 Patch, Release Notes
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 4
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-21 16:01
- StatusUndergoing Analysis → AnalyzedNVD modified 2026-10-21 16:01
- CVSS5.3 (v3.1, CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N) → 6.5 (v3.1, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)NVD modified 2026-10-21 16:01
- First seenCVSS 5.3NVD modified 2026-10-08 20:25
Affected (CPE criteria) 1
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
References 7
- https://github.com/ImageMagick/ImageMagick/commit/2ba2edfd04a1ab3d45af4a0dc1e640dde7020192 Patch
- https://github.com/ImageMagick/ImageMagick/commit/78378cd623468760bee82a5930cb3011725916f8 Patch
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31 Patch, Release Notes
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5rg6-j44q-q892 Vendor Advisory
- https://github.com/ImageMagick/ImageMagick6/commit/879489740daa44dd72e9405b26c845e8aa3d2f53 Patch
- https://github.com/ImageMagick/ImageMagick6/commit/d5750d7309ef5a8cd561430d932a183e4168f484 Patch
- https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56 Patch, Release Notes