Skip to main content
CVE-2026-56371VulnerabilityPublished Updated

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files with texture attributes: the texture object allocated via ReadImage is not released when GetTypeMetrics fails, leaking memory each time a crafted TXT file with a texture attribute is processed

Affects imagemagickSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56371· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium · fixed in 8:6.7.7.10-6ubuntu3.13+esm25 : update imagemagick when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.9
CNA (VulnCheck)CVSS 3.15.3
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8:6.7.7.10-6ubuntu3.13+esm25, 8:6.8.9.9-7ubuntu5.16+esm24, 8:6.9.7.4+dfsg-16ubuntu6.15+esm16 +3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 25.10imagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=questingOther threatsAffected
  • 8:7.1.1.43+dfsg1-1 – 8:7.1.2.3+dfsg1-1ubuntu0.1
5 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13
Fixed in
  • 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13
Ubuntu Pro 22.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14
  • =8:6.9.11.60+dfsg-1ubuntu1
Fixed in
  • 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14
Ubuntu Pro 20.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/focalOther threatsAffected
  • <8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14
Fixed in
  • 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14
Ubuntu Pro 18.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <8:6.9.7.4+dfsg-16ubuntu6.15+esm16
Fixed in
  • 8:6.9.7.4+dfsg-16ubuntu6.15+esm16
Ubuntu Pro 16.04 LTSimagemagickpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <8:6.8.9.9-7ubuntu5.16+esm24
Fixed in
  • 8:6.8.9.9-7ubuntu5.16+esm24

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files with texture attributes: the texture object allocated via ReadImage is not released when GetTypeMetrics fails, leaking memory each time a crafted TXT file with a texture attribute is processed.

References

Community reviews

Loading reviews…