Vulnerability · Published Mar 16, 2025 · Assigned by VulDB
CVE-2025-2337tbeu matio mat.c Mat_VarPrint heap-based overflow
Medium 6.3
In plain English
A medium-severity heap buffer overflow in matio from tbeu. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability, which was classified as critical, has been found in tbeu matio 1.5.28. This issue affects the function Mat_VarPrint of the file src/mat.c. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libmatio | 1.5.23-2+deb12u1 | DEBIAN-CVE-2025-2337 |
| Debian:13 | libmatio | 1.5.28-2 | DEBIAN-CVE-2025-2337 |
| Debian:14 | libmatio | 1.5.28-2 | DEBIAN-CVE-2025-2337 |
| Ubuntu:24.04:LTS | libmatio | no fix listed | UBUNTU-CVE-2025-2337 |
| Ubuntu:25.10 | libmatio | no fix listed | UBUNTU-CVE-2025-2337 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-299801 | tbeu matio mat.c Mat_VarPrint heap-based overflow vdb-entry, technical-description
- VDB-299801 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #510779 | https://github.com/tbeu/matio matio 1.5.28 Heap-based Buffer Overflow third-party-advisory
- Submit #510780 | https://github.com/tbeu/matio matio 1.5.28 Heap-based Buffer Overflow (Duplicate) third-party-advisory
- https://github.com/tbeu/matio/issues/267 issue-tracking
- https://github.com/tbeu/matio/issues/267#issue-2883856488 exploit, issue-tracking