Vulnerability · Published Feb 25, 2026 · Assigned by VulDB
CVE-2026-3145libvips matrixload.c vips_foreign_load_matrix_header memory corruption
Medium 5.3
In plain English
A medium-severity memory corruption in libvips. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | vips | 8.14.1-3+deb12u3 | DEBIAN-CVE-2026-3145 |
| Debian:13 | vips | 8.16.1-1+deb13u1 | DEBIAN-CVE-2026-3145 |
| Debian:14 | vips | 8.18.0-3 | DEBIAN-CVE-2026-3145 |
| Ubuntu:25.10 | vips | no fix listed | UBUNTU-CVE-2026-3145 |
| Ubuntu:26.10 | vips | no fix listed | UBUNTU-CVE-2026-3145 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C
References
- VDB-347651 | libvips matrixload.c vips_foreign_load_matrix_header memory corruption vdb-entry, technical-description
- VDB-347651 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #758690 | libvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Error third-party-advisory
- https://github.com/libvips/libvips/issues/4876 issue-tracking
- https://github.com/libvips/libvips/pull/4888 issue-tracking, patch
- https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece patch
- https://github.com/libvips/libvips/ product