CVE-2026-40183
MEDIUM5.5EPSS 0.01%ImageMagick has a heap buffer overflow when encoding JXL image with a 16-bit float
Published: 4/14/2026Modified: 5/17/2026
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.
Affected packages (18)
- Debian/imagemagickfrom 0, < 8:7.1.1.43+dfsg1-1+deb13u8
- NuGet/Magick.NET-Q16-AnyCPUfrom 0, < 14.12.0
- NuGet/Magick.NET-Q16-arm64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-HDRI-AnyCPUfrom 0, < 14.12.0
- NuGet/Magick.NET-Q16-HDRI-arm64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-HDRI-OpenMP-arm64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-HDRI-x64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-HDRI-x86from 0, < 14.12.0
- NuGet/Magick.NET-Q16-OpenMP-arm64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-OpenMP-x64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-x64from 0, < 14.12.0
- NuGet/Magick.NET-Q16-x86from 0, < 14.12.0
- NuGet/Magick.NET-Q8-AnyCPUfrom 0, < 14.12.0
- NuGet/Magick.NET-Q8-arm64from 0, < 14.12.0
- NuGet/Magick.NET-Q8-OpenMP-arm64from 0, < 14.12.0
- NuGet/Magick.NET-Q8-OpenMP-x64from 0, < 14.12.0
- NuGet/Magick.NET-Q8-x64from 0, < 14.12.0
- NuGet/Magick.NET-Q8-x86from 0, < 14.12.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-40183
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-40183
- PATCHhttps://github.com/ImageMagick/ImageMagick
- WEBhttps://github.com/dlemstra/Magick.NET/releases/tag/14.12.0
- WEBhttps://github.com/ImageMagick/ImageMagick/commit/1c7767fc5f822c6edc104c1220d523e96fa20b5a
- WEBhttps://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- WEBhttps://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jvgr-9ph5-m8v4