Out-of-bounds write in ImageMagick - CVE-2026-140368

 

Out-of-bounds write in ImageMagick - CVE-2026-140368

Published: November 19, 2026 / Updated: December 2, 2026


Vulnerability identifier: #VU167935
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-140368
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to corrupt application data or disrupt image processing.

The vulnerability exists due to an out-of-bounds write in ImageMagick encoders when exporting pixels from 12-bit images before encoding the image data. A remote attacker can induce a user to process a crafted image with an affected encoder to corrupt application data or disrupt image processing.


Affected software

ImageMagick

How to mitigate CVE-2026-140368

Install security update from vendor's website.

ImageMagick - addressed in versions 6.9.13-61, 7.1.2-36

External References

Related Security Bulletins