Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Matio Project | Matio | 1.5.28 |
Related Weaknesses (CWE)
References
- https://github.com/tbeu/matio/issues/275ExploitIssue TrackingThird Party Advisory
- https://github.com/zakkanijia/POC/blob/main/matio/CVE-2025-50343/matio.mdExploitThird Party Advisory
- https://github.com/tbeu/matio/issues/275ExploitIssue TrackingThird Party Advisory
- https://github.com/zakkanijia/POC/blob/main/matio/CVE-2025-50343/matio.mdExploitThird Party Advisory
FAQ
What is CVE-2025-50343?
CVE-2025-50343 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2025-50343?
CVE-2025-50343 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-50343?
Check the references section above for vendor advisories and patch information. Affected products include: Matio Project Matio.