CVE-2026-40183: ImageMagick: Heap buffer overflow when encoding JXL image with a 16-bit float
Vulnerability summary
CVE-2026-40183 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in imagemagick. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 13-04-2026PublishedVulnerability first disclosed.
- 14-04-2026Last modifiedVulnerability information updated.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, the JXL encoder has an heap write overflow when a user specifies that the image should be encoded as 16 bit floats. This issue has been fixed in version 7.1.2-19.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · NugetEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
NuGet17 products
- Magick.NET-Q16-AnyCPU< 14.12.0
- Magick.NET-Q16-arm64< 14.12.0
- Magick.NET-Q16-HDRI-AnyCPU< 14.12.0
- Magick.NET-Q16-HDRI-arm64< 14.12.0
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.12.0
Chainguard4 products
- imagemagick-6All versions (No fix recorded)
- imagemagick-6-dev< 6.9.13.46-r1
- imagemagick-6-doc< 6.9.13.46-r1
- imagemagick-6-static< 6.9.13.46-r1
Alpine1 product
- imagemagick< 7.1.2.19-r0
Debian1 product
- imagemagick< 8:7.1.1.43+dfsg1-1+deb13u8 | < 8:7.1.2.19+dfsg1-1
Imagemagick1 product
- imagemagick< 7.1.2-19
Ubuntu1 product
- imagemagickAll versions (No fix recorded) | < 8:7.1.2.18+dfsg1-1ubuntu0.1~esm6
6 vendors · 25 products
References
12 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jvgr-9ph5-m8v4X Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory