# JLSEC-2026-1052: ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing...

- Severity: Medium 5.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-30T16:02:27.435Z
- Modified: 2026-07-30T18:35:38.320Z
- Related: CVE-2026-56371, EUVD-2026-38439, GHSA-98gv-6gmj-cm6m

## 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.

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 7.1.2023+0

## Every score

- Julia Security Advisories: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Julia Security Advisories: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8> (web)
- <https://github.com/advisories/GHSA-98gv-6gmj-cm6m> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56371> (web)
- <https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1052](https://osv.dev/vulnerability/JLSEC-2026-1052), CC-BY-4.0, modified 2026-07-30

---

Page: https://cve.day/JLSEC-2026-1052 · Whole record: https://cve.day/JLSEC-2026-1052.json · Rebuilt by cve.day 2026-11-25T22:56:25.847Z
