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

 

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

Published: August 15, 2026


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

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to heap-based buffer overflow in the VipsForeignLoadPpm operation when processing untrusted, uncompressed PPM images from a custom source. A local user can supply a specially crafted PPM image to cause a denial of service.

Only applications that define their own custom libvips sources and use them to process untrusted, uncompressed PPM images are vulnerable.


Affected software

libvips
Debian Linux
vips (Debian package)

How to mitigate CVE-2026-70654

Install security update from vendor's website.

libvips - update to 8.18.3
vips (Debian package) - update to 8.16.1-1+deb13u2

External References

Related Security Bulletins