CVE-2026-70654libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow
Updated under an hour ago ()
Does this affect you?
It affects libvips. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, applications that define unusual custom libvips sources and use them to process untrusted uncompressed PPM images can trigger a max/min error in vips_source_read_to_memory in libvips/iofuncs/source.c. The function uses VIPS_MAX instead of VIPS_MIN when selecting the remaining read size, allowing up to 4032 bytes to be written beyond the allocated heap buffer and causing memory corruption or a process crash. This issue is fixed in version 8.18.3.
- CVSS
- 5.8 MEDIUM (v4.0, CNA)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
- Weakness (CWE)
- CWE-122
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Aug 21, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
libvips libvips libvips:libvips (from the name) | before 8.18.3 | CNA record |
References
- https://github.com/libvips/libvips/security/advisories/GHSA-rjmm-3qch-m9rgx-refsource-confirm
- https://github.com/libvips/libvips/pull/5038x-refsource-misc
- https://github.com/libvips/libvips/commit/80e021c6cdda0f80b756c2109d99839c94c03258x-refsource-misc
- https://github.com/libvips/libvips/releases/tag/v8.18.3x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.