CVE-2025-2338
tbeu matio io.c strdup_vprintf heap-based overflow
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
tbeu matio io.c strdup_vprintf heap-based overflow
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.
- Record
CVE-2025-2338- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 6.3 Medium
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 - CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R - CVSS 2.0
- 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR - Weakness
- CWE-122, CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2025-6663
5.3
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.
- Record
EUVD-2025-6663- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8gp3-5r77-7gpx
5.3
A vulnerability, which was classified as critical, was found in tbeu matio 1.5.28. Affected is...
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.
- Record
GHSA-8gp3-5r77-7gpx- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
2.1
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.
- Record
CVE-2025-2338- CVSS 4.0
- 2.1 Low
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119, CWE-122
- Updated
- 2026-11-02
OSV
2.1
tbeu matio io.c strdup_vprintf heap-based overflow
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.
- Record
CVE-2025-2338- CVSS 4.0
- 2.1 Low
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-119, CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-2338
8.1
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.
- Record
DEBIAN-CVE-2025-2338- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-2338
2.1
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.
- Record
UBUNTU-CVE-2025-2338- CVSS 4.0
- 2.1 Low
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10002-1 No score
libmatio-devel-1.5.29-1.1 on GA media
These are all security issues fixed in the libmatio-devel-1.5.29-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10002-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20022-1 No score
Security update for matio
This update for matio fixes the following issues:
-
update to version 1.5.29:
- Fix printing rank-1-variable in Mat_VarPrint
- Fix array index out of bounds in Mat_VarPrint when printing UTF-8 character data (boo#1239678, CVE-2025-2337)
- Fix heap-based buffer overflow in strdup_vprintf (boo#1239677, CVE-2025-2338)
- Changed Mat_VarPrint to print all values of rank-2-variable
- Several other fixes, for example for access violations in Mat_VarPrint
-
Update to version 1.5.28:
- Fixed bug writing MAT_T_INT8/MAT_T_UINT8 encoded character array to compressed v5 MAT file (regression of v1.5.12).
- Fixed bug reading all-zero sparse array of v4 MAT file (regression of v1.5.18).
- Updated C99 snprintf.c.
- CMake: Enabled testing.
- Several other fixes, for example for access violations in Mat_VarPrint.
- Record
openSUSE-SU-2026:20022-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libmatioDebian:12 |
before 1.5.23-2+deb12u1, plus listed versions 1.5.23-2 |
1.5.23-2+deb12u1 |
libmatioDebian:13 |
All versions, plus listed versions 1.5.28-21.5.29-11.5.30-11.5.30-21.5.30-31.5.30-41.6.0-1 |
None known |
libmatioDebian:14 |
before 1.5.29-1, plus listed versions 1.5.28-2 |
1.5.29-1 |
libmatioDebian:11 From an advisory covering 3 CVEs |
before 1.5.19-2+deb11u1, plus listed versions 1.5.19-2 |
1.5.19-2+deb11u1 |
libmatioUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 1.5.1-11.5.2-11.5.2-1ubuntu11.5.2-1ubuntu1+esm1 |
None known |
libmatioUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.5.2-3build21.5.3-11.5.3-1ubuntu0.1~esm1 |
None known |
libmatioUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.5.10-11.5.11-11.5.11-1ubuntu0.1~esm1 |
None known |
libmatioUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1.5.13-31.5.17-31.5.17-3ubuntu0.1~esm11.5.17-3ubuntu0.1~esm2 |
None known |
libmatioUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 1.5.19-21.5.21-11.5.21-1ubuntu0.1~esm1 |
None known |
libmatioUbuntu:24.04:LTS |
All versions, plus listed versions 1.5.23-21.5.24-11.5.26-11.5.26-1build11.5.26-1build21.5.26-1build3 |
None known |
libmatioUbuntu:25.10 |
All versions, plus listed versions 1.5.28-1build11.5.28-2 |
None known |
matioopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 1.5.29-1.1 | 1.5.29-1.1 |
matioopenSUSE:Leap 16.0 From an advisory covering 2 CVEs |
before 1.5.29-bp160.1.1 | 1.5.29-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-2338 is a medium vulnerability (CVSS 5.3) in Matio Project Matio, published March 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 47th percentile. Fixed in libmatio 1.5.23-2+deb12u1.
References
vuldb.com?id.299802
vuldb.com?ctiid.299802
vuldb.com?submit.510781
github.com/tbeu/matio/issues/269
nvd.nist.gov/vuln/detail/CVE-2025-2338
github.com/advisories/GHSA-8gp3-5r77-7gpx
Show 8 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2338.json
security-tracker.debian.org/tracker/CVE-2025-2338
ubuntu.com/security/CVE-2025-2338
cve.org/CVERecord?id=CVE-2025-2338
suse.com/security/cve/CVE-2025-2337
suse.com/security/cve/CVE-2025-2338
bugzilla.suse.com/1239677
bugzilla.suse.com/1239678