Description
A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will "be removing the deprecated area in libvips 8.19".
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvips | 8.18.0, 8.18.1, 8.18.2 | — |
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 | No fix yet | — |
| Debian 13 | vips | No fix yet | — |
| Debian 12 | vips | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | vips | No fix yet | — |
| Ubuntu 25.10 | vips | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 24.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 22.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 20.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 18.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 16.04 LTS | vips | No fix yet | — |
References
- VDB-358035 | libvips nip2 vips7compat.c im_minpos_vec heap-based overflow vdb-entry technical-description
- VDB-358035 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #786994 | libvips 8.19.0 Out-of-Bounds Read third-party-advisory
- https://github.com/libvips/libvips/issues/4965 issue-tracking
- https://github.com/libvips/libvips/issues/4965#issuecomment-4135003499 issue-tracking
- https://github.com/biniamf/pocs/tree/main/libvips_im_minpos_vec_oob exploit
- https://github.com/libvips/libvips/ product