Vulnerability · Published Mar 16, 2025 · Assigned by VulDB
CVE-2025-2338tbeu matio io.c strdup_vprintf 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 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability, which was classified as critical, was found in tbeu matio 1.5.28. Affected is the function strdup_vprintf of the file src/io.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack 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-2338 |
| Debian:13 | libmatio | no fix listed | DEBIAN-CVE-2025-2338 |
| Debian:14 | libmatio | 1.5.29-1 | DEBIAN-CVE-2025-2338 |
| Ubuntu:24.04:LTS | libmatio | no fix listed | UBUNTU-CVE-2025-2338 |
| Ubuntu:25.10 | libmatio | no fix listed | UBUNTU-CVE-2025-2338 |
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-299802 | tbeu matio io.c strdup_vprintf heap-based overflow vdb-entry, technical-description
- VDB-299802 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #510781 | https://github.com/tbeu/matio matio 1.5.28 Heap-based Buffer Overflow third-party-advisory
- https://github.com/tbeu/matio/issues/269 issue-tracking
- https://github.com/tbeu/matio/issues/269#issue-2883920922 exploit, issue-tracking