Skip to content
Fencer Vulns
medium 5.8

CVE-2026-70654 json

libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow

published 2026-08-20 2 mo ago modified 2026-10-26 14 d ago also EUVD-2026-63656

cvss
5.8
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 1%
public exploits
0
none known

Summary

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.

Patch / fix

  • libvips libvips 8.18.3
  • vips Debian 13 8.16.1-1+deb13u2
  • vips Debian 14 8.18.3-1

debian advisories DEBIAN-CVE-2026-70654

  • vips Ubuntu Pro 20.04 LTS 8.9.1-2ubuntu0.1~esm2
  • vips Ubuntu Pro 22.04 LTS 8.12.1-1ubuntu0.1~esm3
  • vips Ubuntu Pro 24.04 LTS 8.15.1-1.1ubuntu0.1~esm2
  • vips Ubuntu Pro 26.04 LTS 8.18.0-1ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2026-70654

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vips openSUSE Tumbleweed 8.18.7-1.1

opensuse advisories openSUSE-SU-2026:12266-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-70654 updated cvss 4.4

libvips: libvips: Heap buffer overflow allows memory corruption and denial of service.

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 mo ago

Exploit prediction

0.11% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 5.8 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
CNA 4.0 5.8 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

Affected products

  • libvips libvips

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.