CVE-2026-56370

Severity CVSS v4.0:
MEDIUM
Type:
CWE-125 Out-of-bounds Read
Publication date:
24/06/2026
Last modified:
26/06/2026

Description

ImageMagick before 7.1.2-19 contains an out-of-bounds access vulnerability in ConnectedComponentsImage() when processing connected-components artifacts with invalid indices. Attackers can trigger access violations by specifying malformed connected-components definitions via CLI, causing denial of service or potential code execution.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 6.9.13-44 (excluding)
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 7.0.0-0 (including) 7.1.2-19 (excluding)