Home

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.

PUBLISHED Reserved 2026-04-10 | Published 2026-04-13 | Updated 2026-04-14 | Assigner GitHub_M




MEDIUM: 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Problem types

CWE-122: Heap-based Buffer Overflow

CWE-787: Out-of-bounds Write

Product status

< 7.1.2-19
affected

< 6.9.13-44
affected

References

github.com/...Magick/security/advisories/GHSA-pwg5-6jfc-crvh

github.com/...ommit/3d653bea2df085c728a1c8f775808e1e9249dff9

github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19

github.com/dlemstra/Magick.NET/releases/tag/14.12.0

cve.org (CVE-2026-40310)

nvd.nist.gov (CVE-2026-40310)

Download JSON