Severity
5.5MEDIUM
EPSS
No EPSS data
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 13

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below both 7.1.2-19 and 6.9.13-44, contain a heap out-of-bounds write in the JP2 encoder with when a user specifies an invalid sampling index. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages1 packages

CVEListV5imagemagick/imagemagick< 7.1.2-19+1

🔴Vulnerability Details

1
CVEList
ImageMagick: Heap out-of-bounds write in JP2 encoder2026-04-13

📋Vendor Advisories

1
Red Hat
ImageMagick: Magick.NET: ImageMagick: Denial of service via heap out-of-bounds write in JP2 encoder2026-04-13

💬Community

3
Bugzilla
CVE-2026-40310 ImageMagick: ImageMagick: Denial of service via heap out-of-bounds write in JP2 encoder [epel-all]2026-04-13
Bugzilla
CVE-2026-40310 ImageMagick: Magick.NET: ImageMagick: Denial of service via heap out-of-bounds write in JP2 encoder2026-04-13
Bugzilla
CVE-2026-40310 ImageMagick: ImageMagick: Denial of service via heap out-of-bounds write in JP2 encoder [fedora-all]2026-04-13
CVE-2026-40310 (MEDIUM CVSS 5.5) | ImageMagick is free and open-source | cvebase.io