CVE-2026-56361

LOW

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-q8h3-jv9v-57qx)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q8h3-jv9v-57qx
Third Party Advisory third-party-advisory
VulnCheck Advisory: ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing
https://www.vulncheck.com/advisories/imagemagick-heap-buffer-overflow-via-off-by-one-in-morphology-processing

Scores

CVSS v3 3.3
EPSS 0.0012
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (5)
ImageMagick/ImageMagick < 6.9.13-44
imagemagick/imagemagick < 6.9.13-44
ImageMagick/ImageMagick < 7.1.2-19
ImageMagick/ImageMagick 6.9.13-44
ImageMagick/ImageMagick 7.1.2-19
Published Jun 30, 2026
Tracked Since Jul 01, 2026