CVE-2026-56361
JSON

4.8medium

ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing

Severity
4.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-q8h3-jv9v-57qx

Description

ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagickfrom 7.0.0 before 7.1.2-19, before 6.9.13-44, from 7.0.0-0 before 7.1.2-19
Not affected: 7.1.2-19, 6.9.13-44
CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.12.0GitHub Advisory Database
Magick.NET-Q16-x86 (NuGet)before 14.12.0GitHub Advisory Database

All scores

VulnCheck4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
GitHub3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Classification

CWE-125CWE-193

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

What each source says

CVE List

ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.

GitHub Advisory Database

An incorrect morphology would allow an out of bounds read of a single pixel.

==1200284==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x5100000002d0 at pc 0x59e28e60c27a bp 0x7fff047fd8e0 sp 0x7fff047fd8d0
READ of size 4 at 0x5100000002d0 thread T0

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56361 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-q8h3-jv9v-57qx changed 2026-07-08CC-BY-4.0
NVDCVE-2026-56361 changed 2026-10-29Public domain