CVE-2026-56371 json
ImageMagick - Memory Leak in TXT File Processing via Texture Attribute
published 2026-02-25 8 mo ago modified 2026-10-29 10 d ago also EUVD-2026-38439 , GHSA-3q5f-gmjc-38r8 , GHSA-98gv-6gmj-cm6m , JLSEC-2026-1052
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget Magick.NET-Q16-AnyCPU 14.10.3
- nuget Magick.NET-Q16-HDRI-AnyCPU 14.10.3
- nuget Magick.NET-Q16-HDRI-OpenMP-arm64 14.10.3
- nuget Magick.NET-Q16-HDRI-OpenMP-x64 14.10.3
- nuget Magick.NET-Q16-HDRI-arm64 14.10.3
- nuget Magick.NET-Q16-HDRI-x64 14.10.3
- nuget Magick.NET-Q16-HDRI-x86 14.10.3
- nuget Magick.NET-Q16-OpenMP-arm64 14.10.3
- nuget Magick.NET-Q16-OpenMP-x64 14.10.3
- nuget Magick.NET-Q16-OpenMP-x86 14.10.3
- nuget Magick.NET-Q16-arm64 14.10.3
- nuget Magick.NET-Q16-x64 14.10.3
- nuget Magick.NET-Q16-x86 14.10.3
- nuget Magick.NET-Q8-AnyCPU 14.10.3
- nuget Magick.NET-Q8-OpenMP-arm64 14.10.3
- nuget Magick.NET-Q8-OpenMP-x64 14.10.3
- nuget Magick.NET-Q8-arm64 14.10.3
- nuget Magick.NET-Q8-x64 14.10.3
- nuget Magick.NET-Q8-x86 14.10.3
- julia ImageMagick_jll 7.1.2023+0
- ImageMagick ImageMagick 6.9.13-40, 7.1.2-15
- imagemagick Debian 12 8:6.9.11.60+dfsg-1.6+deb12u12
- imagemagick Debian 13 8:7.1.1.43+dfsg1-1+deb13u11
- imagemagick Debian 14 8:7.1.2.15+dfsg1-1
debian advisories DEBIAN-CVE-2026-56371
- imagemagick Ubuntu Pro 14.04 LTS 8:6.7.7.10-6ubuntu3.13+esm25
- imagemagick Ubuntu Pro 16.04 LTS 8:6.8.9.9-7ubuntu5.16+esm24
- imagemagick Ubuntu Pro 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.15+esm16
- imagemagick Ubuntu Pro 20.04 LTS 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14
- imagemagick Ubuntu Pro 22.04 LTS 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14
- imagemagick Ubuntu Pro 24.04 LTS 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13
ubuntu advisories UBUNTU-CVE-2026-56371
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 7.1.0.9-150400.6.96.1
- ImageMagick SLE Module for Development Tools 15 SP7, SLE Module for Desktop Applications 15 SP7 7.1.1.43-150700.3.65.1
- ImageMagick SLES for SAP applications 16.0, SLES 16.0 7.1.2.0-160000.10.1
- ImageMagick SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 6.8.8.1-71.259.1
- ImageMagick SLES for SAP 15 SP6, SLES 15 SP6-LTSS 7.1.1.21-150600.3.73.1
suse advisories SUSE-SU-2026:3053-1SUSE-SU-2026:3024-1SUSE-SU-2026:3023-1SUSE-SU-2026:2877-1SUSE-SU-2026:22378-1
- ImageMagick openSUSE Tumbleweed 7.1.2.25-3.1
- ImageMagick openSUSE Leap 16.0 7.1.2.0-160000.10.1
opensuse advisories openSUSE-SU-2026:11127-1openSUSE-SU-2026:21071-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-56371 updated cvss 5.3
ImageMagick: ImageMagick: Denial of Service due to memory leak in TXT file processing
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: workaround, no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 0.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
| CNA | 4.0 | 6.9 | 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 |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Magick.NET-Q16-AnyCPU | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-AnyCPU | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-OpenMP-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-OpenMP-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-x86 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-x86 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-x86 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-AnyCPU | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-OpenMP-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-OpenMP-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-x86 | <14.10.3 |
14.10.3 |
| julia | ImageMagick_jll | <7.1.2023+0 |
7.1.2023+0 |
Affected products
- ImageMagick ImageMagick
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/ImageMagick/ImageMagick/commit/e6394098af39a9689bb5f0b4eb6a9968e449a8d3
web
-
github.com
/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8
vendor-advisory, web, third-party-advisory
-
vulncheck.com
/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-56371
advisory, web
-
github.com
/ImageMagick/ImageMagick
package
-
github.com
/dlemstra/Magick.NET/releases/tag/14.10.3
web
-
github.com
/advisories/GHSA-98gv-6gmj-cm6m
web
Sources
- CVE List CVE-2026-56371
- GitHub Advisory GHSA-3q5f-gmjc-38r8
- GitHub Advisory GHSA-98gv-6gmj-cm6m
- NVD CVE-2026-56371
- OSV JLSEC-2026-1052
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.