CVE-2026-70654

EUVD-2026-63656
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
GitHub_MCNA
5.8 MEDIUM
LOCAL
HIGH
LOW
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 1.53%
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources (CNA/ADP records, vendor advisories, Enginsight analysis).
VendorProductVersionSource
libvipslibvips
𝑥
< 8.18.3
CNA
Debian logo
Debian Releases
Debian Product
Codename
vips
bookworm
vulnerable
bookworm (security)
vulnerable
forky
8.18.7-1
fixed
sid
8.18.7-1
fixed
trixie
vulnerable
trixie (security)
8.16.1-1+deb13u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
vips
bionic
not-affected
focal
Fixed 8.9.1-2ubuntu0.1~esm2
released
jammy
Fixed 8.12.1-1ubuntu0.1~esm3
released
noble
Fixed 8.15.1-1.1ubuntu0.1~esm2
released
resolute
Fixed 8.18.0-1ubuntu0.1~esm2
released
stonking
not-affected
xenial
not-affected