ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-56371

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSimagemagick
All versions before 8:6.7.7.10-6ubuntu3.13+esm25 (fixed in 8:6.7.7.10-6ubuntu3.13+esm25)
Ubuntu:Pro:16.04:LTSimagemagick
All versions before 8:6.8.9.9-7ubuntu5.16+esm24 (fixed in 8:6.8.9.9-7ubuntu5.16+esm24)
Ubuntu:Pro:18.04:LTSimagemagick
All versions before 8:6.9.7.4+dfsg-16ubuntu6.15+esm16 (fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm16)
Ubuntu:Pro:20.04:LTSimagemagick
All versions before 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14 (fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14)
Ubuntu:Pro:22.04:LTSimagemagick
All versions before 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14 (fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14)
Ubuntu:Pro:24.04:LTSimagemagick
All versions before 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13 (fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13)
Ubuntu:25.10imagemagick
All versions, no fix listed

References