---
cve: "CVE-2026-70654"
severity: "MEDIUM"
cvss: 5.8
epss: "5%"
vendor: "libvips"
kev: false
exploited: false
published: "2026-08-20 21:17:08"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-16T14:28:16+02:00"
---

# CVE-2026-70654

> 5.8 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Hoch | good |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 80e021c6cdda0f80b756c2109d99839c94c03258 (Commit)
- 3664cfc5dc2c5661288f5bf5a85ccc51c64c1626 (Commit)

## Referenzen

- <https://github.com/libvips/libvips/security/advisories/GHSA-rjmm-3qch-m9rg>
- <https://github.com/libvips/libvips/pull/5038>
- <https://github.com/libvips/libvips/commit/80e021c6cdda0f80b756c2109d99839c94c03258>
- <https://github.com/libvips/libvips/releases/tag/v8.18.3>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-70654) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
