{"id":"CVE-2026-56371","published":"2026-06-23T12:13:04Z","modified":"2026-10-29T21:15:54Z","title":"ImageMagick - Memory Leak in TXT File Processing via Texture Attribute","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0044,"percentile":0.30099,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute","tags":["third-party-advisory"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":6.02},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":[">= 7.0.0, < 7.1.2-15"]},{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 6.9.13-40"]}],"fixedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["7.1.2-15"]},{"vendor":"ImageMagick","product":"ImageMagick","versions":["6.9.13-40"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-24T15:43:57.913723Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-3q5f-gmjc-38r8"],"provenance":"source"}],"summary":{"text":"ImageMagick contains a memory leak in the TXT file coder (coders/txt.c) that occurs when processing TXT files with texture attributes, where a texture object is not released if GetTypeMetrics fails. An attacker can trigger the leak by supplying a crafted TXT file with a texture attribute to ImageMagick for processing, requiring no authentication, no user interaction, and no special configuration, with network access as the delivery path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:50Z"},"euvd":{"id":"EUVD-2026-38439","exploited":false,"provenance":"source"}}