CVE-2026-40310CWE-122CWE-787
ImageMagick: Heap out-of-bounds write in JP2 encoder
Medium · published April 13, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 5.5 · MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00189 · 8.1th percentile
- Weaknesses
- CWE-122 · Heap-based Buffer Overflow; CWE-787 · Out-of-bounds Write
- Published
- 2026-04-13T21:32Z
EPSS history
Timeline