Heap Out-of-Bounds Write Vulnerability in ImageMagick Software
CVE-2026-40310
5.5MEDIUM
What is CVE-2026-40310?
ImageMagick, a popular open-source software for manipulating digital images, has a vulnerability that allows for a heap out-of-bounds write. This occurs in the JP2 encoder when a user inputs an invalid sampling index. If exploited, this could potentially lead to unauthorized access or manipulation of system memory. Users are strongly encouraged to upgrade to versions 7.1.2-19 or 6.9.13-44 to mitigate this risk.
Affected Version(s)
ImageMagick < 7.1.2-19 < 7.1.2-19
ImageMagick < 6.9.13-44 < 6.9.13-44