CVE-2026-3145 Details
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.
A memory corruption vulnerability has been identified in libvips versions prior to 8.18.0. The issue arises in the matrix loading functions within 'libvips/foreign/matrixload.c', where improper handling of signed and unsigned values can lead to stack underflow writes. This vulnerability is exploitable locally and has been confirmed with an AddressSanitizer (ASAN) report indicating a stack-buffer-overflow error.
Users can upgrade to libvips version 8.19.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libvips/libvips/ | [email protected] | Product |
| https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece | [email protected] | Patch |
| https://github.com/libvips/libvips/issues/4876 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/libvips/libvips/pull/4888 | [email protected] | Issue TrackingPatch |
| https://vuldb.com/?ctiid.347651 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.347651 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.758690 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libvips libvips | <= 8.18.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 25, 2026 | New CVE Received | [email protected] |