Description
A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvips | 8.19.0 | — |
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.0-3 | — |
| Debian 13 | vips | 8.16.1-1+deb13u1 | — |
| Debian 12 | vips | 8.14.1-3+deb12u3 | — |
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-348010 | libvips bandrank.c vips_bandrank_build heap-based overflow vdb-entry technical-description
- VDB-348010 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #758861 | libvips 8.19.0(7fab325d2) Improper Validation of Array Index third-party-advisory
- https://github.com/libvips/libvips/issues/4878 issue-tracking
- https://github.com/libvips/libvips/pull/4895 issue-tracking patch
- https://github.com/libvips/libvips/issues/4878#issue-3944209102 exploit issue-tracking
- https://github.com/libvips/libvips/commit/fd28c5463697712cb0ab116a2c55e4f4d92c4088 patch
- https://github.com/libvips/libvips/ product