CVE-2026-116158: ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare command
Affects imagemagickSource GCVE Database
Not known to be exploited · CVSS 2.0 Low · fixed in 7.1.2 : update imagemagick when convenient.
Data as of 28 Oct 2026, 22:44 UTC
- Patch
- Available – fixed in 7.1.2
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10imagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/resoluteOther 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.
AI-suggested
A fix is available in ImageMagick version 7.1.2-33 and later. Users should upgrade to this version or later to remediate the memory leak vulnerability. No other mitigations are specified.
Description
ImageMagick versions before 7.1.2-33 contain a memory leak vulnerability in the magick compare command. This flaw occurs due to missing cleanup when an operation fails, allowing attackers to trigger repeated failed compare operations that exhaust memory and cause denial of service. The vulnerability has a low severity score and does not impact confidentiality or integrity.
References
- ubuntu.com/security/CVE-2026-116158 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-116158 (opens in a new tab)
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m938-565c-h9qf (opens in a new tab)
- vulncheck.com/advisories/imagemagick-before-7.1.2-33-memory-leak-in-magick-compare (opens in a new tab)