Servers and applications
CVE-2026-70654
A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow
- Severity
- Medium 5.8
- Published
- 14 Aug 2026
- Last changed
- 14 Aug 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 8.18.3
- Exploit chance
- 0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Needs local access · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Change some data · Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N- Also known as
- GHSA-rjmm-3qch-m9rg
- Sources
- Project advisories (GitHub)
Description
Those defining their own custom libvips sources, which are highly unusual, and using these to process untrusted, uncompressed PPM images could result in writing 4032 bytes beyond the allocated heap due to min/max confusion.
Workarounds
A possible workaround for those affected is to block the VipsForeignLoadPpm operation via vips_operation_block_set, which is available in most language bindings.
Alternatively, the VIPS_BLOCK_UNTRUSTED environment variable can be set to prevent the use of all "untrusted" image decoders, which includes the PPM loader.
Affected software
| Software | Affected versions |
|---|---|
libvipsServers and applications · github:libvips/libvips |
|
About libvips
A fast image processing library with low memory needs.
- GitHub stars
- 11,810GitHub, 15 Nov 2026
- Forks
- 808GitHub, 15 Nov 2026
- Latest release
- v8.18.7GitHub, 15 Nov 2026
- Released
- 26 Sept 2026GitHub
- License
- LGPL-2.1GitHub
- First published on GitHub
- 25 Jan 2011GitHub
Vulnerabilities in libvips
- In our list
- 25
- Published in the last 12 months
- 17
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-69242Integer overflow leading to heap buffer overflow leading to possible attacker-controlled mmap-resident writeHigh 8.4 14 Aug 2026
- CVE-2026-70651Possible integer overflow when reading multi-page TIFF images via ImageMagickMedium 6.9 14 Aug 2026
- CVE-2026-70653Possible heap-based buffer read overflow when decoding a well-crafted RLE Radiance imageMedium 4.8 14 Aug 2026
- CVE-2026-70652Possible heap-based buffer read overflow when resizing and re-encoding a JPEG with gain mapLow 2.0 14 Aug 2026
- CVE-2026-35591Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tileHigh 7.0 17 Jul 2026
- CVE-2026-35590Possible out-of-bounds read leading to crash when decoding well-crafted EXIF metadataMedium 6.8 17 Jul 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-70654
- GitHub Advisory Database https://github.com/advisories/GHSA-rjmm-3qch-m9rg
- github.com https://github.com/libvips/libvips/security/advisories/GHSA-rjmm-3qch-m9rg