CVE-2026-27799
MEDIUM4.0EPSS 0.02%ImageMagick has a heap Buffer Over-read in its DJVU image format handler
Published: 2/25/2026Modified: 4/28/2026
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in the DJVU image format handler. The vulnerability occurs due to integer truncation when calculating the stride (row size) for pixel buffer allocation. The stride calculation overflows a 32-bit signed integer, resulting in an out-of-bounds memory reads. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Affected packages (20)
- Debian/imagemagickfrom 0, < 8:6.9.11.60+dfsg-1.3+deb11u10
- NuGet/Magick.NET-Q16-AnyCPUfrom 0, < 14.10.3
- NuGet/Magick.NET-Q16-arm64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-HDRI-AnyCPUfrom 0, < 14.10.3
- NuGet/Magick.NET-Q16-HDRI-arm64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-HDRI-OpenMP-arm64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-HDRI-OpenMP-x64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-HDRI-x64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-HDRI-x86from 0, < 14.10.3
- NuGet/Magick.NET-Q16-OpenMP-arm64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-OpenMP-x64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-OpenMP-x86from 0, < 14.10.3
- NuGet/Magick.NET-Q16-x64from 0, < 14.10.3
- NuGet/Magick.NET-Q16-x86from 0, < 14.10.3
- NuGet/Magick.NET-Q8-AnyCPUfrom 0, < 14.10.3
- NuGet/Magick.NET-Q8-arm64from 0, < 14.10.3
- NuGet/Magick.NET-Q8-OpenMP-arm64from 0, < 14.10.3
- NuGet/Magick.NET-Q8-OpenMP-x64from 0, < 14.10.3
- NuGet/Magick.NET-Q8-x64from 0, < 14.10.3
- NuGet/Magick.NET-Q8-x86from 0, < 14.10.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-27799
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-27799
- PATCHhttps://github.com/ImageMagick/ImageMagick
- WEBhttps://github.com/dlemstra/Magick.NET/releases/tag/14.10.3
- WEBhttps://github.com/ImageMagick/ImageMagick/commit/e87695b3227978ad70b967b8d054baaf8ac2cced
- WEBhttps://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r99p-5442-q2x2