Vulnerability

CVE-2026-40310

mediumCVSS 3.1 5.5Published 13 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Imagemagick imagemagick

Weakness type

References

  • github.com /ImageMagick/ImageMagick/commit/3d653bea2df085c728a1c8f7758…
  • github.com /ImageMagick/ImageMagick/releases/tag/7.1.2-19
  • github.com /ImageMagick/ImageMagick/security/advisories/GHSA-pwg5-6jfc…
  • github.com /dlemstra/Magick.NET/releases/tag/14.12.0

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning