# CVE-2026-70654: vips: libvips is a fast image processing library with low memory needs

CVE-2026-70654 is fixed in 5 products on 1 platform, first by gir1.2-vips-8.0 8.9.1-2ubuntu0.1~esm2, released August 20, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-70654
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0011
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 20, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gir1.2-vips-8.0 Ubuntu 20.04 LTS (focal) | 8.9.1-2ubuntu0.1~esm2 | [gir1.2-vips-8.0 8.9.1-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-gir1.2-vips-8.0-8.9.1-2ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | gir1.2-vips-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.12.1-1ubuntu0.1~esm3 | [gir1.2-vips-8.0 8.12.1-1ubuntu0.1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gir1.2-vips-8.0-8.12.1-1ubuntu0.1-esm3.md) | Aug 20, 2026 |
| Linux | gir1.2-vips-8.0 Ubuntu 24.04.5 LTS (noble) | 8.15.1-1.1ubuntu0.1~esm2 | [gir1.2-vips-8.0 8.15.1-1.1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-gir1.2-vips-8.0-8.15.1-1.1ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | gir1.2-vips-8.0 Ubuntu 26.04.1 LTS (resolute) | 8.18.0-1ubuntu0.1~esm2 | [gir1.2-vips-8.0 8.18.0-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-gir1.2-vips-8.0-8.18.0-1ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | libvips-tools Ubuntu 20.04 LTS (focal) | 8.9.1-2ubuntu0.1~esm2 | [libvips-tools 8.9.1-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libvips-tools-8.9.1-2ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | libvips-tools Ubuntu 22.04.1 LTS (jammy) | 8.12.1-1ubuntu0.1~esm3 | [libvips-tools 8.12.1-1ubuntu0.1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libvips-tools-8.12.1-1ubuntu0.1-esm3.md) | Aug 20, 2026 |
| Linux | libvips-tools Ubuntu 24.04.5 LTS (noble) | 8.15.1-1.1ubuntu0.1~esm2 | [libvips-tools 8.15.1-1.1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libvips-tools-8.15.1-1.1ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | libvips-tools Ubuntu 26.04.1 LTS (resolute) | 8.18.0-1ubuntu0.1~esm2 | [libvips-tools 8.18.0-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libvips-tools-8.18.0-1ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | libvips42 Ubuntu 20.04 LTS (focal) | 8.9.1-2ubuntu0.1~esm2 | [libvips42 8.9.1-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libvips42-8.9.1-2ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | libvips42 Ubuntu 22.04.1 LTS (jammy) | 8.12.1-1ubuntu0.1~esm3 | [libvips42 8.12.1-1ubuntu0.1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libvips42-8.12.1-1ubuntu0.1-esm3.md) | Aug 20, 2026 |
| Linux | libvips42t64 Ubuntu 24.04.5 LTS (noble) | 8.15.1-1.1ubuntu0.1~esm2 | [libvips42t64 8.15.1-1.1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libvips42t64-8.15.1-1.1ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | libvips42t64 Ubuntu 26.04.1 LTS (resolute) | 8.18.0-1ubuntu0.1~esm2 | [libvips42t64 8.18.0-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libvips42t64-8.18.0-1ubuntu0.1-esm2.md) | Aug 20, 2026 |
| Linux | vips Debian 13.5 (trixie) | 8.16.1-1+deb13u2 | [DEBIAN-CVE-2026-70654](https://patchblox.com/security/data/fix/linux/debian-cve-2026-70654.md) | Aug 21, 2026 |
| Linux | vips Debian 14 | 8.18.3-1 | [DEBIAN-CVE-2026-70654](https://patchblox.com/security/data/fix/linux/debian-cve-2026-70654.md) | Aug 21, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
