Buffer overflow in Libvips
CVE-2026-3145
A flaw has been found in libvips up to 8.18.0. The affected element is the function vips_foreign_load_matrix_file_is_a/vips_foreign_load_matrix_header of the file libvips/foreign/matrixload.c. Executing a manipulation can lead to memory corruption. The attack needs to be launched locally. This patch is called d4ce337c76bff1b278d7085c3c4f4725e3aa6ece. A patch should be applied to remediate 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.002, 12.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libvips
- Libvips — versions 8.0, 8.1, 8.2
Weakness classification (CWE)
References
- VDB-347651 | libvips matrixload.c vips_foreign_load_matrix_header memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-347651 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #758690 | libvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Error (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/libvips/libvips/issues/4876 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/libvips/libvips/pull/4888 (issue-tracking, Patch, patch, Issue Tracking)
- github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece (Patch, patch)
- github.com/libvips/libvips/ (Product, product)