CVE-2025-2338 tbeu matio io.c strdup_vprintf heap-based overflow
A heap-based buffer overflow in the Matio library allows remote attackers to execute arbitrary code or cause denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-2338?
CVE-2025-2338 is a medium-severity memory corruption vulnerability in tbeu matio, published on 16 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Which versions are affected by CVE-2025-2338?
It affects 1 product.
Products include Matio Project Matio.
How do I fix CVE-2025-2338?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-2338 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2338 exists.
Other vulnerabilities in tbeu matio
Sources
Also known as DEBIAN-CVE-2025-2338, GHSA-8gp3-5r77-7gpx, UBUNTU-CVE-2025-2338.