synced 3 MIN AGO
01 Record

CVE-2026-40310

ImageMagick: Heap out-of-bounds write in JP2 encoder

MediumPUBLISHEDCNA: GitHub_M
CNA base score5.5 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

02 Description

ImageMagick: Heap out-of-bounds write in JP2 encoder

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.18% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 8.1% of scored records. A rank, not a probability.
NVD base score
5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2026-04-13 21:32Z6 MO AGO
Last updated
2026-04-14 16:28Z6 MO AGO
Reserved
2026-04-10
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Medium (CVSS 5.5)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
  • CWE-122Heap-based Buffer OverflowVariant
  • CWE-787Out-of-bounds WriteBase
  • CWE-1285Improper Validation of Specified Index, Position, or Offset in InputBase
Data version
5.2
Document digest
7be287539abf92b99f1b8d13a07a40837ef24e5adb382fd5f5187303c1932380

05 Affected products

VendorProductVersionsPlatforms
ImageMagickImageMagick< 7.1.2-19, < 6.9.13-44—

06 References

07 Fixed in

Debian 12

  • imagemagick
    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u9

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • imagemagick
    Fixed in 8:7.1.1.43+dfsg1-1+deb13u8

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • imagemagick
    Fixed in 8:7.1.2.19+dfsg1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • imagemagick
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • imagemagick
    Fixed in 8:6.8.9.9-7ubuntu5.16+esm25
    Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • imagemagick
    Fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm17
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • imagemagick
    Fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • imagemagick
    Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 24.04 LTS

  • imagemagick
    Fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 26.04 LTS

  • imagemagick
    Fixed in 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.