CVE-2026-40310ImageMagick: Heap out-of-bounds write in JP2 encoder
- 5.5MediumCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 91% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 3 days later
· 3 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected < 7.1.2-19
- affected < 6.9.13-44
Affected packages
Affected packages16
From reviewed advisories of the GitHub Advisory Database.
- NuGetMagick.NET-Q16-AnyCPUGHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-AnyCPUGHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-OpenMP-arm64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-HDRI-x86GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-arm64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-OpenMP-x64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-arm64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-x64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q16-x86GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q8-AnyCPUGHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-arm64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q8-OpenMP-x64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q8-arm64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q8-x64GHSA-pwg5-6jfc-crvh (opens in a new tab)
- NuGetMagick.NET-Q8-x86GHSA-pwg5-6jfc-crvh (opens in a new tab)
References
References4
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pwg5-6jfc-crvh (opens in a new tab)x_refsource_CONFIRM
- https://github.com/ImageMagick/ImageMagick/commit/3d653bea2df085c728a1c8f775808e1e9249dff9 (opens in a new tab)x_refsource_MISC
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19 (opens in a new tab)x_refsource_MISC
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-22116 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pwg5-6jfc-crvh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-40310)Record last updated .