Description
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, a crafted many-band TIFF processed through VipsForeignLoadTiff can evade scanline validation in libvips/iofuncs/image.c and cause an integer overflow in vips_image_sanity. The resulting buffer-region calculation can access attacker-controlled negative offsets in mmap-resident allocations, allowing reads or writes of other image data, possible data disclosure through uncompressed .v output, and likely process crashes. Remote code execution has not been demonstrated but cannot be ruled out. This issue is fixed in version 8.18.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vips | 8.18.3-1 | — |
| Debian 13 | vips | 8.16.1-1+deb13u2 | — |
| Debian 12 | vips | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | vips | 8.18.7-1.1 | openSUSE-SU-2026:12266-1 |
Advisories 2
- USN-8994-1 vips vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- openSUSE-SU-2026:12266-1 libvips-devel-8.18.7-1.1 on GA media SUSE / openSUSE Security Updates · Oct 25, 2026