| Name | CVE-2026-56371 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | vulnerable |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u14 | vulnerable | |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u9 | vulnerable | |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u11 | vulnerable | |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u8 | vulnerable | |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u10 | vulnerable | |
| forky | 8:7.1.2.24+dfsg1-1 | fixed | |
| sid | 8:7.1.2.25+dfsg1-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| imagemagick | source | (unstable) | 8:7.1.2.15+dfsg1-1 |
[trixie] - imagemagick <no-dsa> (Minor issue)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/e6394098af39a9689bb5f0b4eb6a9968e449a8d3 (7.1.2-14)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/073e3e31bb8f3646db365994cf618e998853bef7 (6.9.13-39)