{"apiVersion":"1.0","identifier":"CVE-2026-70654","description":"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.","publishedAt":"2026-08-20T21:17:08","lastModifiedAt":"2026-08-21T12:16:31","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-70654","cvssScore":5.8,"cvssVector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","epssProbability":0.00114,"riskScore":0.59,"affectedProduct":"libvips","affectedVersions":"<8.18.3","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-70654","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-70654","en":"https://www.redsauce.net/en/cves/CVE-2026-70654","fr":"https://www.redsauce.net/fr/cves/CVE-2026-70654","pt":"https://www.redsauce.net/pt/cves/CVE-2026-70654","de":"https://www.redsauce.net/de/cves/CVE-2026-70654","sk":"https://www.redsauce.net/sk/cves/CVE-2026-70654","el":"https://www.redsauce.net/el/cves/CVE-2026-70654"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-70654"}}