# CVE-2026-3145: libvips matrixload.c vips_foreign_load_matrix_header memory corruption

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T02:02:10.604Z
- Modified: 2026-06-17T10:43:06.927Z
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- libvips: 8.0; 8.1; 8.2; 8.3; 8.4; 8.5; 8.6; 8.7; 8.8; 8.9; 8.10; 8.11; and 7 more
- libvips libvips: up to 8.18.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/libvips/libvips/issues/4876> (exploit, issue-tracking, vendor-advisory)
- <https://vuldb.com/?id.347651> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.347651> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.758690> (third-party-advisory, vdb-entry)
- <https://github.com/libvips/libvips/pull/4888> (issue-tracking, patch)
- <https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece> (patch)
- <https://github.com/libvips/libvips/> (product)

## Sources

- CVE List: [CVE-2026-3145](https://www.cve.org/CVERecord?id=CVE-2026-3145), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2026-3145](https://nvd.nist.gov/vuln/detail/CVE-2026-3145), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3145 · Whole record: https://cve.day/CVE-2026-3145.json · Rebuilt by cve.day 2026-11-25T22:59:14.814Z
