Heap-based Buffer Overflow Affecting vips package, versions <8.16.1-1+deb13u2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-VIPS-19222783
  • published23 Aug 2026
  • disclosed20 Aug 2026

Introduced: 20 Aug 2026

CVE-2026-70654  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Echo:latest vips to version 8.16.1-1+deb13u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vips package and not the vips package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.