CVE-2026-40311: ImageMagick is free and open-source software used for editing and manipulating digital images
Affects imagemagickSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 : update imagemagick when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm17, 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15, 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 +2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 26.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10imagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below 7.1.2-19 and 6.9.13-44 contain a heap use-after-free vulnerability that can cause a crash when reading and printing values from an invalid XMP profile. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.
References
- ubuntu.com/security/CVE-2026-40311 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40311 (opens in a new tab)
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r83h-crwp-3vm7 (opens in a new tab)
- github.com/ImageMagick/ImageMagick/commit/5facfecf1abb3fed46a08f614dcc43d1e548e20d (opens in a new tab)
- github.com/ImageMagick/ImageMagick6/commit/ccf3cffe819616b39374594a7b5389fc2d49260d (opens in a new tab)
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19 (opens in a new tab)
- github.com/dlemstra/Magick.NET/releases/tag/14.12.0 (opens in a new tab)
- ubuntu.com/security/notices/USN-8810-1 (opens in a new tab)