Out-of-bounds write in ImageMagick - #VU125874

 

Out-of-bounds write in ImageMagick - #VU125874

Published: April 14, 2026


Vulnerability identifier: #VU125874
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ImageMagick.org
Affected software:
ImageMagick

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds write in ConnectedComponentsImage() when processing an invalid index in CLI-controlled connected-components:* artifacts. A remote attacker can supply a specially crafted define value to cause a denial of service.

User interaction is required to process the crafted input.


Remediation

Install security update from vendor's website.

Sources