Out-of-bounds read in ImageMagick - CVE-2026-45358

 

Out-of-bounds read in ImageMagick - CVE-2026-45358

Published: May 16, 2026


Vulnerability identifier: #VU131587
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-45358
CWE-ID: CWE-125
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 disclose sensitive information.

The vulnerability exists due to an out-of-bounds read in the meta encoder when parsing input. A remote attacker can send specially crafted input to disclose sensitive information.

The issue is caused by an off-by-one error and results in a single-byte heap buffer over-read.


How to mitigate CVE-2026-45358

Install security update from vendor's website.

Sources