Vulnerability · Published Feb 27, 2026 · Assigned by VulDB
CVE-2026-3281libvips bandrank.c vips_bandrank_build heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in libvips. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | vips | 8.14.1-3+deb12u3 | DEBIAN-CVE-2026-3281 |
| Debian:13 | vips | 8.16.1-1+deb13u1 | DEBIAN-CVE-2026-3281 |
| Debian:14 | vips | 8.18.0-3 | DEBIAN-CVE-2026-3281 |
| Ubuntu:25.10 | vips | no fix listed | UBUNTU-CVE-2026-3281 |
| Ubuntu:26.10 | vips | no fix listed | UBUNTU-CVE-2026-3281 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
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