# CVE-2026-3146: libvips matrixload.c vips_foreign_load_matrix_header null pointer dereference

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T03:02:09.172Z
- Modified: 2026-06-17T10:43:07.067Z
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in libvips up to 8.18.0. The impacted element is the function vips_foreign_load_matrix_header of the file libvips/foreign/matrixload.c. The manipulation leads to null pointer dereference. The attack needs to be performed locally. The identifier of the patch is d4ce337c76bff1b278d7085c3c4f4725e3aa6ece. To fix this issue, it is recommended to deploy a patch.

(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:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/libvips/libvips/issues/4875> (exploit, issue-tracking, vendor-advisory)
- <https://vuldb.com/?id.347652> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.347652> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.758691> (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-3146](https://www.cve.org/CVERecord?id=CVE-2026-3146), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2026-3146](https://nvd.nist.gov/vuln/detail/CVE-2026-3146), Public domain, modified 2026-06-17

---

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