Heap Out-of-Bounds Write Vulnerability in ImageMagick Software
CVE-2026-40310

5.5MEDIUM

Key Information:

Vendor
CVE Published:
13 April 2026

What is CVE-2026-40310?

ImageMagick, a popular open-source software for manipulating digital images, has a vulnerability that allows for a heap out-of-bounds write. This occurs in the JP2 encoder when a user inputs an invalid sampling index. If exploited, this could potentially lead to unauthorized access or manipulation of system memory. Users are strongly encouraged to upgrade to versions 7.1.2-19 or 6.9.13-44 to mitigate this risk.

Affected Version(s)

ImageMagick < 7.1.2-19 < 7.1.2-19

ImageMagick < 6.9.13-44 < 6.9.13-44

References

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.