{"id":"CVE-2026-30937","aliases":["GHSA-qpg4-j99f-8xcg"],"url":"https://o3.security/vulnerability/CVE-2026-30937","summary":"ImageMagick has a heap buffer overflow in WriteXWDImage due to CARD32 arithmetic overflow in bytes_per_line calculation","details":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a 32-bit unsigned integer overflow in the XWD (X Windows) encoder can cause an undersized heap buffer allocation. When writing a extremely large image an out of bounds heap write can occur. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.","published":"2026-03-09T21:50:15.495Z","modified":"2026-08-07T11:50:52.167795950Z","cvss":{"score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x86","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-x64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","fixedVersion":"14.10.4"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","fixedVersion":"14.10.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30937.json"},{"type":"ADVISORY","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qpg4-j99f-8xcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30937"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:50:52.167795950Z"}}