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 (9.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 10th percentile — 9.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Libvips
- Libvips — versions 8.0, 8.1, 8.2
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, 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)
Frequently asked questions
- What is CVE-2026-3145?
- CVE-2026-3145 is a medium-severity vulnerability in Libvips, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2026-02-25.
- How severe is CVE-2026-3145?
- Medium severity. CVSS v3 base score is 5.3 out of 10.