CVE-2026-56370

ImageMagick - Out-of-bounds Access in ConnectedComponentsImage via connected-components Artifact

State
Published
Severity
4.8 Medium
Published
Jun 24, 2026
Updated
Oct 29, 2026
Reserved
Jun 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

Affected Products

ProductVersions
ImageMagickImageMagick
  • 7.0.0 to before 7.1.2-19Affected
  • 7.1.2-19Not affected
ImageMagickImageMagick
  • before 6.9.13-44Affected
  • 6.9.13-44Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.