CVE-2025-50343

Severity CVSS v4.0:
Pending analysis
Type:
CWE-122 Heap-based Buffer Overflow
Publication date:
30/12/2025
Last modified:
09/01/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:matio_project:matio:1.5.28:*:*:*:*:*:*:*