cve.bz

CVE-2026-70654 libvips libvips: Heap-based Buffer Overflow

5.8 mediumEPSS 0.1%

Medium (5.8) in libvips libvips. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.8 medium
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
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-70654 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-70654?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-70654?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-70654 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libvips< 8.18.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12vipsno fix listedDEBIAN-CVE-2026-70654
Debian13vips8.16.1-1+deb13u2DEBIAN-CVE-2026-70654
Debian14vips8.18.3-1DEBIAN-CVE-2026-70654
UbuntuPro:16.04:LTSvips8.2.2-1ubuntu0.1~esm1USN-8994-1
UbuntuPro:18.04:LTSvips8.4.5-1ubuntu0.1~esm2USN-8994-1
UbuntuPro:20.04:LTSvips8.9.1-2ubuntu0.1~esm2UBUNTU-CVE-2026-70654 USN-8994-1
UbuntuPro:22.04:LTSvips8.12.1-1ubuntu0.1~esm3UBUNTU-CVE-2026-70654 USN-8994-1
UbuntuPro:24.04:LTSvips8.15.1-1.1ubuntu0.1~esm2UBUNTU-CVE-2026-70654 USN-8994-1
UbuntuPro:26.04:LTSvips8.18.0-1ubuntu0.1~esm2UBUNTU-CVE-2026-70654 USN-8994-1
openSUSETumbleweedvips8.18.7-1.1openSUSE-SU-2026:12266-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact flaw in libvips involves a heap buffer overflow when processing untrusted uncompressed PPM images through applications configured with unusual custom libvips sources. Exploitation requires a specific, non-default application setup and user interaction, which reduces the overall risk in typical Red Hat environments. The vulnerability can lead to memory corruption or application crashes.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-70654.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON