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

EPSS: 0.002 (8.3th percentile) — read the EPSS interpretation.

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.

Affected products

  • Libvips
  • N/a Libvips — versions 8.0, 8.1, 8.2

Weakness classification (CWE)

References

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.