Heap-Based Memory Corruption in Matio by The MathWorks
CVE-2025-50343
9.8CRITICAL
What is CVE-2025-50343?
A significant vulnerability was identified in Matio version 1.5.28 where a mismatch between the nfields value and the actual number of strings in the fields array can result in heap-based memory corruption. This flaw can lead to out-of-bounds reads and improper memory cleanup, potentially triggering segmentation faults or further heap corruption, hence compromising application stability. Developers using this library are advised to review their code to mitigate these risks.
