CVE-2026-26284
JSON

6.5medium

ImageMagick has heap overflow in pcd decoder that leads to out of bounds read.

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wrhr-rf8j-r842

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, ImageMagick lacks proper boundary checking when processing Huffman-coded data from PCD (Photo CD) files. The decoder contains an function that has an incorrect initialization that could cause an out of bounds read. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagick>= 7.0.0, < 7.1.2-15, < 6.9.13-40, 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-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
Magick.NET-Q16-x64 (NuGet)before 14.10.3GitHub Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-122CWE-125CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, 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, ImageMagick lacks proper boundary checking when processing Huffman-coded data from PCD (Photo CD) files. The decoder contains an function that has an incorrect initialization that could cause an out of bounds read. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

GitHub Advisory Database

The pcd coder lacks proper boundary checking when processing Huffman-coded data. The decoder contains an function that has an incorrect initialization that could cause an out of bounds read.

==3900053==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x502000003c6c at pc 0x55601b9cc552 bp 0x7ffd904b1f70 sp 0x7ffd904b1f60
READ of size 1 at 0x502000003c6c 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-15 y 6.9.13-40, ImageMagick carece de una comprobación de límites adecuada al procesar datos codificados con Huffman de archivos PCD (Photo CD). El decodificador contiene una función que tiene una inicialización incorrecta que podría causar una lectura fuera de límites. Las versiones 7.1.2-15 y 6.9.13-40 contienen un parche.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26284 changed 2026-02-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-wrhr-rf8j-r842 changed 2026-03-14CC-BY-4.0
NVDCVE-2026-26284 changed 2026-06-17Public domain