CVE-2026-107209Imagemagick double free
CVSS score
7.5
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.33%
0.33% chance of exploitation in the next 30 days, higher than 26.6% 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-30 and 6.9.13-55, when ImageMagick is built without Cairo support, a crafted RSVG image that reaches a resource limit can cause the RSVG decoder to free image state twice and then use freed memory, crashing the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
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-55, 7.1.2-30 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/326451aae51ac2dabc99fe66e063de6ec14cf8c8
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-30
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-f2r2-qw7g-3c8x
- github.com/ImageMagick/ImageMagick6/commit/04a4c5b89c034cf2c93bb0a10044332d941b4fa5
- github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-55
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
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| ImageMagick Imagemagick | < 6.9.13-55 · ≥ 7.0.0-0, < 7.1.2-30 · >= 7.0.0, < 7.1.2-30 |
Frequently asked questions
Is CVE-2026-107209 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-107209?
CVE-2026-107209 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Imagemagick Imagemagick (< 6.9.13-55; ≥ 7.0.0-0, < 7.1.2-30; >= 7.0.0, < 7.1.2-30)
Is there a patch for CVE-2026-107209?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/ImageMagick/ImageMagick/commit/326451aae51ac2dabc99fe66e063de6ec14cf8c8(Patch)
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-30(Patch, Release Notes)
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-f2r2-qw7g-3c8x(Vendor Advisory)
- github.com/ImageMagick/ImageMagick6/commit/04a4c5b89c034cf2c93bb0a10044332d941b4fa5(Patch)
- github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-55(Patch, Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.