Buffer overflow in Matio Project
CVE-2025-50343
An issue was discovered in matio 1.5.28. A heap-based memory corruption can occur in Mat_VarCreateStruct() when the nfields value does not match the actual number of strings in the fields array. This leads to out-of-bounds reads and invalid memory frees during cleanup, potentially causing a segmentation fault or heap corruption.
Vulnerability class: Buffer Overflow
EPSS: 0.003 (26.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Matio_project Matio — versions 1.5.28
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Exploit, Third Party Advisory, Issue Tracking)
- cve@mitre.org (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-50343?
- CVE-2025-50343 is a critical-severity vulnerability in Matio Project, classified under Heap-based Buffer Overflow. CVSS score: 9.8/10. Published 2025-12-30.
- How severe is CVE-2025-50343?
- Critical severity. CVSS v3 base score is 9.8 out of 10.