Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-70651 EUVD-2026-63653

libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick

Published Aug 20, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
libvips libvips < 8.18.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vips 8.18.3-1 —
Debian 13 vips 8.16.1-1+deb13u2 —
Debian 12 vips No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS vips 8.18.0-1ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 24.04 LTS vips 8.15.1-1.1ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 22.04 LTS vips 8.12.1-1ubuntu0.1~esm3 USN-8994-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS vips 8.9.1-2ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 18.04 LTS vips 8.4.5-1ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 16.04 LTS vips 8.2.2-1ubuntu0.1~esm1 USN-8994-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed vips 8.18.7-1.1 openSUSE-SU-2026:12266-1

Advisories 2

References