{"id":"CVE-2026-40311","aliases":["GHSA-r83h-crwp-3vm7"],"url":"https://o3.security/vulnerability/CVE-2026-40311","summary":"ImageMagick: Heap-use-after-free via XMP profile could result in a crash when printing values","details":"ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below 7.1.2-19 and 6.9.13-44 contain a heap use-after-free vulnerability that can cause a crash when reading and printing values from an invalid XMP profile. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.","published":"2026-04-13T21:36:44.262Z","modified":"2026-08-12T16:24:04.000848Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"epss":{"score":0.00184,"percentile":0.0817,"asOf":"2026-08-07"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","fixedVersion":"14.12.0"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","fixedVersion":"14.12.0"}],"fix":{"url":"https://github.com/ImageMagick/ImageMagick/commit/5facfecf1abb3fed46a08f614dcc43d1e548e20d","label":"ImageMagick/ImageMagick@5facfec"},"references":[{"type":"WEB","url":"https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19"},{"type":"WEB","url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40311.json"},{"type":"ADVISORY","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r83h-crwp-3vm7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40311"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/5facfecf1abb3fed46a08f614dcc43d1e548e20d"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T16:24:04.000848Z"}}