CVE-2026-30931
JSON

6.8medium

ImageMagick has a heap-based buffer overflow in UHDR encoder

Severity
6.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-h95r-c8c7-mrwx

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16, a heap-based buffer overflow in the UHDR encoder can happen due to truncation of a value and it would allow an out of bounds write. This vulnerability is fixed in 7.1.2-16.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick< 7.1.2-16, before 7.1.2-16CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-OpenMP-x86 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.10.4GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.10.4GitHub Advisory Database

All scores

GitHub_M6.8medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122

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-16, a heap-based buffer overflow in the UHDR encoder can happen due to truncation of a value and it would allow an out of bounds write. This vulnerability is fixed in 7.1.2-16.

GitHub Advisory Database

A heap-based buffer overflow in the UHDR encoder can happen due to truncation of a value and it would allow an out of bounds write.

================================================================
==2158399==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x521000039500 at pc 0x562a4a42f968 bp 0x7ffcca4ed6c0 sp 0x7ffcca4ed6b0
WRITE of size 1 at 0x521000039500 thread T0
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-16, un desbordamiento de búfer basado en montículo en el codificador UHDR puede ocurrir debido a la truncación de un valor y permitiría una escritura fuera de límites. Esta vulnerabilidad está corregida en 7.1.2-16.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-30931 changed 2026-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-h95r-c8c7-mrwx changed 2026-09-10CC-BY-4.0
NVDCVE-2026-30931 changed 2026-06-17Public domain