CVE-2026-27799
JSON

4.0medium

ImageMagick has a heap Buffer Over-read in its DJVU image format handler

Severity
4.0medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r99p-5442-q2x2

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

Product or packageVersionsReported by
ImageMagick ImageMagick< 6.9.13-40, >= 7.0.0, < 7.1.2-15, before 6.9.13-40, from 7.0.0-0 before 7.1.2-15CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-OpenMP-x86 (NuGet)before 14.10.3GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.10.3GitHub Advisory Database

All scores

GitHub_M4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
GitHub4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
NVD4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-122CWE-126

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

ImageMagick es un software libre y de código abierto utilizado para editar y manipular imágenes digitales. Antes de las versiones 7.1.2-15 y 6.9.13-40, existe una vulnerabilidad de lectura excesiva de búfer de pila en el gestor del formato de imagen DJVU. La vulnerabilidad ocurre debido a un truncamiento de enteros al calcular el 'stride' (tamaño de fila) para la asignación del búfer de píxeles. El cálculo del 'stride' desborda un entero con signo de 32 bits, lo que resulta en lecturas de memoria fuera de límites. Las versiones 7.1.2-15 y 6.9.13-40 contienen un parche.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27799 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-r99p-5442-q2x2 changed 2026-02-28CC-BY-4.0
NVDCVE-2026-27799 changed 2026-06-17Public domain