Buffer overflow in Libvips
CVE-2026-3281
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 19.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libvips — versions 8.19.0
- Libvips — versions 8.19.0
Weakness classification (CWE)
References
- VDB-348010 | libvips bandrank.c vips_bandrank_build heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-348010 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #758861 | libvips 8.19.0(7fab325d2) Improper Validation of Array Index (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/libvips/libvips/issues/4878 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/libvips/libvips/pull/4895 (issue-tracking, Patch, patch, Issue Tracking)
- github.com/libvips/libvips/issues/4878 (issue-tracking, Exploit, exploit, Issue Tracking, Vendor Advisory)
- github.com/libvips/libvips/commit/fd28c5463697712cb0ab116a2c55e4f4d92c4088 (Patch, patch)
- github.com/libvips/libvips/ (Product, product)