CVE-2026-70651
JSON

6.9medium

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

Severity
6.9medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
libvips libvips< 8.18.3CVE List

Classification

CWE-680

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

libvips es una biblioteca de procesamiento de imágenes rápida con bajas necesidades de memoria. Antes de la versión 8.18.3, libvips compilado sin soporte para libtiff pero con soporte para ImageMagick puede desbordar la altura de fotograma combinada al cargar un TIFF multipágina manipulado a través de VipsForeignLoadMagick. Los cálculos vulnerables en libvips/foreign/magick6load.c y libvips/foreign/magick7load.c multiplican el Ysize por página por n_frames sin un límite comprobado, lo que puede causar una lectura excesiva del búfer de pila y un fallo del proceso. La mayoría de las compilaciones de gestores de paquetes incluyen libtiff y no utilizan esta ruta de respaldo afectada. Este problema está corregido en la versión 8.18.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-70651 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-70651 changed 2026-10-26Public domain