Integer Overflow to Buffer Overflow Affecting vips package, versions <8.18.3-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.12% (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-DEBIANUNSTABLE-VIPS-19220729
  • published23 Aug 2026
  • disclosed20 Aug 2026

Introduced: 20 Aug 2026

CVE-2026-70651  (opens in a new tab)
CWE-680  (opens in a new tab)

How to fix?

Upgrade Debian:unstable vips to version 8.18.3-1 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 Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, libvips built without libtiff support but with ImageMagick support can overflow the combined frame height while loading a crafted multi-page TIFF through VipsForeignLoadMagick. The vulnerable calculations in libvips/foreign/magick6load.c and libvips/foreign/magick7load.c multiply the per-page Ysize by n_frames without a checked bound, which can cause a heap buffer over-read and process crash. Most package-manager builds include libtiff and do not use this affected fallback path. This issue is fixed in version 8.18.3.