CVE-2026-106577Imagemagick code injection
CVSS score
6.5
Medium
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.35%
0.35% chance of exploitation in the next 30 days, higher than 29.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Imagemagick and compare its version with the affected versions.
Update to a fixed version
- Update Imagemagick to 6.9.13-56, 7.1.2-31 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
- github.com/ImageMagick/ImageMagick/commit/2ba2edfd04a1ab3d45af4a0dc1e640dde7020192
- github.com/ImageMagick/ImageMagick/commit/78378cd623468760bee82a5930cb3011725916f8
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5rg6-j44q-q892
- github.com/ImageMagick/ImageMagick6/commit/879489740daa44dd72e9405b26c845e8aa3d2f53
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| ImageMagick Imagemagick | < 6.9.13-56 · ≥ 7.0.0-0, < 7.1.2-31 · >= 7.0.0, < 7.1.2-31 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-106577 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-106577?
CVE-2026-106577 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are affected?
Imagemagick Imagemagick (< 6.9.13-56; ≥ 7.0.0-0, < 7.1.2-31; >= 7.0.0, < 7.1.2-31)
Is there a patch for CVE-2026-106577?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/ImageMagick/ImageMagick/commit/2ba2edfd04a1ab3d45af4a0dc1e640dde7020192(Patch)
- github.com/ImageMagick/ImageMagick/commit/78378cd623468760bee82a5930cb3011725916f8(Patch)
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-31(Patch, Release Notes)
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5rg6-j44q-q892(Vendor Advisory)
- github.com/ImageMagick/ImageMagick6/commit/879489740daa44dd72e9405b26c845e8aa3d2f53(Patch)
- github.com/ImageMagick/ImageMagick6/commit/d5750d7309ef5a8cd561430d932a183e4168f484(Patch)
- github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-56(Patch, Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.