CVE-2025-50343

EUVD-2025-205846
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 29.73%
Affected Products (NVD)
VendorProductVersion
matio_projectmatio
1.5.28
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libmatio
bookworm
1.5.23-2+deb12u1
fixed
bookworm (security)
1.5.23-2+deb12u1
fixed
bullseye
vulnerable
bullseye (security)
1.5.19-2+deb11u1
fixed
forky
1.5.30-4
fixed
sid
1.5.30-4
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libmatio
bionic
deferred
focal
deferred
jammy
deferred
noble
deferred
plucky
ignored
questing
ignored
resolute
deferred
trusty
deferred
xenial
deferred