DEBIAN-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. NOTE: Multiple third-parties note that the available evidence does not demonstrate a vulnerability exploitable through an attacker-controlled input path.
DEBIAN-CVE-2025-50343
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2025-50343
libmatio
Source reference: /affected/0/package/name
- Affected versions
- 1.5.23-2
Source reference:
/affected/0/versions - Fixed versions
- 1.5.23-2+deb12u1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
libmatio
Source reference: /affected/1/package/name
- Affected versions
- 1.5.28-2
Source reference:
/affected/1/versions1.5.29-1Source reference:
/affected/1/versions1.5.30-1Source reference:
/affected/1/versions1.5.30-2Source reference:
/affected/1/versions1.5.30-3Source reference:
/affected/1/versions1.5.30-4Source reference:
/affected/1/versions1.6.0-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libmatio
Source reference: /affected/2/package/name
- Affected versions
- 1.5.28-2
Source reference:
/affected/2/versions1.5.29-1Source reference:
/affected/2/versions1.5.30-1Source reference:
/affected/2/versions - Fixed versions
- 1.5.30-2
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.23-2+deb12u1"
}
]
}
],
"package": {
"name": "libmatio",
"purl": "pkg:deb/debian/libmatio?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.5.23-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-50343.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libmatio",
"purl": "pkg:deb/debian/libmatio?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.5.28-2",
"1.5.29-1",
"1.5.30-1",
"1.5.30-2",
"1.5.30-3",
"1.5.30-4",
"1.6.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-50343.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.30-2"
}
]
}
],
"package": {
"name": "libmatio",
"purl": "pkg:deb/debian/libmatio?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.5.28-2",
"1.5.29-1",
"1.5.30-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-50343.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #59419 · Revision 1
- Added to Heist Feed
- Publisher date