
CVE catalog
CVE-2025-50343
libmatio: CVE-2025-50343
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 21, 2026
A flaw was found in matio. This vulnerability involves a memory error within the Mat_VarCreateStruct() function, where the system incorrectly handles the number of fields in a data structure. This can lead to out-of-bounds memory access and improper memory cleanup. An attacker could exploit this issue to cause the application to crash, resulting in a denial of service, or potentially to execute unauthorized code on the affected system. This vulnerability is rated Moderate because it involves heap-based memory corruption, which could lead to a denial of service or other impacts. Exploitation requires user interaction, such as opening a specially crafted MAT file, limiting the attack vector. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libmatio | bookworm | Not reported | vulnerable |
| Debian | libmatio | bookworm | 1.5.23-2+deb12u1 | fixed |
| Debian | libmatio | 12 | 1.5.23-2 | vulnerable |
| Debian | libmatio | 12 | 1.5.23-2+deb12u1 | fixed |
| Debian | libmatio | 13 | 1.5.28-2 | vulnerable |
| Debian | libmatio | 13 | 1.5.29-1 | vulnerable |
| Debian | libmatio | 13 | 1.5.30-1 | vulnerable |
| Debian | libmatio | 13 | 1.5.30-2 | vulnerable |
| Debian | libmatio | 13 | 1.5.30-3 | vulnerable |
| Debian | libmatio | 13 | 1.5.30-4 | vulnerable |
| Debian | libmatio | 13 | 1.6.0-1 | vulnerable |
| Debian | libmatio | 14 | 1.5.28-2 | vulnerable |
| Debian | libmatio | 14 | 1.5.29-1 | vulnerable |
| Debian | libmatio | 14 | 1.5.30-1 | vulnerable |
| Debian | libmatio | 14 | 1.5.30-2 | fixed |
| Opensuse | matio | tumbleweed | 1.5.30-1.1 | fixed |
| Ubuntu | libmatio | pro | 1.5.19-2 | vulnerable |
| Ubuntu | libmatio | pro | 1.5.21-1 | vulnerable |
| Ubuntu | libmatio | pro | 1.5.21-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | libmatio | 24.04 | 1.5.23-2 | vulnerable |
| Ubuntu | libmatio | 24.04 | 1.5.24-1 | vulnerable |
| Ubuntu | libmatio | 24.04 | 1.5.26-1 | vulnerable |
| Ubuntu | libmatio | 24.04 | 1.5.26-1build1 | vulnerable |
| Ubuntu | libmatio | 24.04 | 1.5.26-1build2 | vulnerable |
| Ubuntu | libmatio | 24.04 | 1.5.26-1build3 | vulnerable |
| Ubuntu | libmatio | 25.10 | 1.5.28-1build1 | vulnerable |
| Ubuntu | libmatio | 25.10 | 1.5.28-2 | vulnerable |
| Ubuntu | libmatio | 26.10 | 1.5.30-2 | vulnerable |
| Ubuntu | libmatio | 26.10 | 1.5.30-4 | vulnerable |
| Ubuntu | libmatio | 26.10 | 1.5.30-4build1 | vulnerable |
| Ubuntu | libmatio | 26.04 | 1.5.28-2 | vulnerable |
| Ubuntu | libmatio | 26.04 | 1.5.29-1 | vulnerable |
| Ubuntu | libmatio | 26.04 | 1.5.30-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libmatio | deb | bookworm | 1.5.23-2+deb12u1 | Not reported | Not reported | Not reported |
| Debian | libmatio | deb | 12 | 1.5.23-2+deb12u1 | Not reported | DEBIAN-CVE-2025-50343 | Not reported |
| Debian | libmatio | deb | 14 | 1.5.30-2 | Not reported | DEBIAN-CVE-2025-50343 | Not reported |
| Opensuse | matio | rpm | tumbleweed | 1.5.30-1.1 | Not reported | OPENSUSE-SU-2026:10094-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmatio11]Affected
Source package: [libmatio]
Details (4)
1.5.23-2+deb12u1· amd64 · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· arm64 · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· amd64 · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· arm64 · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
- [libmatio-dev]Affected
Source package: [libmatio]
Details (4)
1.5.23-2+deb12u1· amd64 · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· arm64 · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· amd64 · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· arm64 · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
- [libmatio-doc]Affected
Source package: [libmatio]
Details (4)
1.5.23-2+deb12u1· all · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· all · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· all · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· all · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
- [matio-tools]Affected
Source package: [libmatio]
Details (4)
1.5.23-2+deb12u1· amd64 · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· arm64 · bookwormAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· amd64 · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
1.5.23-2+deb12u1· arm64 · bookworm-securityAffected · Fixed:
1.5.23-2+deb12u1dsa · libmatio · debian · bookworm; dsa · libmatio · debian · 12
[Debian 13 (Trixie)]
- [libmatio13]Affected
Source package: [libmatio]
Details (2)
1.5.28-2· amd64 · trixieAffected
dsa · libmatio · debian · 13
1.5.28-2· arm64 · trixieAffected
dsa · libmatio · debian · 13
- [libmatio-dev]Affected
Source package: [libmatio]
Details (2)
1.5.28-2· amd64 · trixieAffected
dsa · libmatio · debian · 13
1.5.28-2· arm64 · trixieAffected
dsa · libmatio · debian · 13
- [libmatio-doc]Affected
Source package: [libmatio]
Details (2)
1.5.28-2· all · trixieAffected
dsa · libmatio · debian · 13
1.5.28-2· all · trixieAffected
dsa · libmatio · debian · 13
- [matio-tools]Affected
Source package: [libmatio]
Details (2)
1.5.28-2· amd64 · trixieAffected
dsa · libmatio · debian · 13
1.5.28-2· arm64 · trixieAffected
dsa · libmatio · debian · 13
[openSUSE Tumbleweed]
- [libmatio14]Unknown
Source package: [matio]
Details (1)
1.5.30-1.5· x86_64 · tumbleweedUnknown · Fixed:
1.5.30-1.1Version impact unknown
dsa · matio · opensuse · tumbleweed
- [libmatio-devel]Unknown
Source package: [matio]
Details (1)
1.5.30-1.5· x86_64 · tumbleweedUnknown · Fixed:
1.5.30-1.1Version impact unknown
dsa · matio · opensuse · tumbleweed
- [matio-tools]Unknown
Source package: [matio]
Details (1)
1.5.30-1.5· x86_64 · tumbleweedUnknown · Fixed:
1.5.30-1.1Version impact unknown
dsa · matio · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10094-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-50343]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-50343]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-50343]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10094-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-50343]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-50343.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]