Heap-based buffer overflow in libvips - CVE-2026-35591

 

Heap-based buffer overflow in libvips - CVE-2026-35591

Published: July 17, 2026


Vulnerability identifier: #VU138326
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-35591
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to heap-based buffer overflow in the tiffload operation when decoding a TIFF image containing a crafted JPEG or JPEG2000-encoded tile. A remote attacker can supply a specially crafted TIFF image to execute arbitrary code.


Affected software

libvips

How to mitigate CVE-2026-35591

Install security update from vendor's website.

libvips - update to 8.18.2

External References

Related Security Bulletins