Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.13-44 |
Related Weaknesses (CWE)
References
- https://github.com/ImageMagick/ImageMagick/commit/3d653bea2df085c728a1c8f775808ePatch
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19Release Notes
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pwg5-6jfc-crVendor Advisory
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0Release Notes
FAQ
What is CVE-2026-40310?
CVE-2026-40310 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 wh...
How severe is CVE-2026-40310?
CVE-2026-40310 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40310?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick.