{"id":"CVE-2026-25971","published":"2026-02-24T01:39:21Z","modified":"2026-06-23T15:49:17Z","title":"ImageMagick's MSL: Stack overflow in ProcessMSLScript","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, Magick fails to check for circular references between two MSLs, leading to a stack overflow. Versions 7.1.2-15 and 6.9.13-40 contain a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00247,"percentile":0.16268,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8mpr-6xr2-chhc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":3.25},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":[">= 7.0.0, < 7.1.2-15","< 6.9.13-40"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T21:02:03.819947Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-8mpr-6xr2-chhc"],"provenance":"source"}],"summary":{"text":"The flaw is a stack overflow in ImageMagick's MSL (Magick Scripting Language) processing, specifically within the ProcessMSLScript component, caused by a failure to check for circular references between MSL scripts. An attacker who can get ImageMagick to process a crafted MSL script that references scripts in a loop can exhaust the stack and crash the process, and this requires only local access with no privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:46Z"},"euvd":{"id":"EUVD-2026-7427","exploited":false,"provenance":"source"}}