CVE-2026-70651
libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick
Reported by github_m · Published August 20, 2026
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libvips | libvips | < 8.18.3 |
| libvips | libvips | 0 |
Timeline
- Aug 20, 2026 CVE Published
- Aug 21, 2026 Coalition ESS Score
- Aug 24, 2026 EPSS Score (6 in total, the first dated here)
- Sep 3, 2026 Security Advisory
- Oct 26, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-70651
vulnetix vdb fixes CVE-2026-70651
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-70651/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/libvips/libvips/security/advisories/GHSA-7p29-wg2h-36q4 x_refsource_CONFIRM
- https://github.com/libvips/libvips/pull/5040 x_refsource_MISC
- https://github.com/libvips/libvips/commit/05719ca3d5852acdeb6714de2e8e769c9a5d2c11 x_refsource_MISC
- https://github.com/libvips/libvips/releases/tag/v8.18.3 x_refsource_MISC