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.
References
Link Resource
https://github.com/tbeu/matio/issues/275 Exploit Issue Tracking Third Party Advisory
https://github.com/zakkanijia/POC/blob/main/matio/CVE-2025-50343/matio.md Exploit Third Party Advisory
https://github.com/tbeu/matio/issues/275 Exploit Issue Tracking Third Party Advisory
https://github.com/zakkanijia/POC/blob/main/matio/CVE-2025-50343/matio.md Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:matio_project:matio:1.5.28:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-12-30 20:16

Updated : 2026-01-09 19:38


NVD link : CVE-2025-50343

Mitre link : CVE-2025-50343

CVE.ORG link : CVE-2025-50343


JSON object : View

Products Affected

matio_project

  • matio
CWE
CWE-122

Heap-based Buffer Overflow