{"id":"CVE-2026-40312","published":"2026-04-13T21:43:28Z","modified":"2026-04-14T19:27:39Z","title":"ImageMagick: Off-by-One in MSL decoder could result in crash","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, an off by one error in the MSL decoder could result in a crash when a malicous MSL file is read. This issue has been fixed in version 7.1.2-19.","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.00184,"percentile":0.08155,"provenance":"source"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d","tags":["x_refsource_MISC"]},{"url":"https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19","tags":["x_refsource_MISC"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.63},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 7.1.2-19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-14T19:06:40.524092Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-5xg3-585r-9jh5"],"provenance":"source"}],"summary":{"text":"The flaw is an off-by-one error in the MSL decoder of ImageMagick, an open-source image editing and manipulation product. An attacker who can get a malicious MSL file read by ImageMagick can trigger a crash, with the attack requiring local access, no privileges, and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:17Z"},"euvd":{"id":"EUVD-2026-22132","exploited":false,"provenance":"source"}}