CVE-2025-50343

CRITICAL

matio 1.5.28 - Heap-based Buffer Overflow in Mat_VarCreateStruct

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Third Party Advisory
https://github.com/tbeu/matio/issues/275

Scores

CVSS v3 9.8
EPSS 0.0034
EPSS Percentile 26.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-122
Status published
Products (1)
matio_project/matio 1.5.28
Published Dec 30, 2025
Tracked Since Feb 18, 2026