{"id":"CVE-2025-2338","aliases":["DEBIAN-CVE-2025-2338","DLA-4459-1","EUVD-2025-6663","GHSA-8gp3-5r77-7gpx","UBUNTU-CVE-2025-2338","openSUSE-SU-2026:10002-1","openSUSE-SU-2026:20022-1"],"status":"published","title":"tbeu matio io.c strdup_vprintf heap-based overflow","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.","severity":{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00563,"percentile":0.47137,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-122"],"published":"2025-03-16T12:31:04Z","modified":"2026-10-28T02:30:52Z","fixes":[{"ecosystem":"Debian:12","package":"libmatio","fixed_in":["1.5.23-2+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libmatio","fixed_in":["1.5.29-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.23-2+deb12u1"}]}],"versions":["1.5.23-2"]},{"source":"osv","ecosystem":"Debian:13","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.28-2","1.5.29-1","1.5.30-1","1.5.30-2","1.5.30-3","1.5.30-4","1.6.0-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.29-1"}]}],"versions":["1.5.28-2"]},{"source":"osv","ecosystem":"Debian:11","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.19-2+deb11u1"}]}],"versions":["1.5.19-2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-1","1.5.2-1","1.5.2-1ubuntu1","1.5.2-1ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.2-3build2","1.5.3-1","1.5.3-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.10-1","1.5.11-1","1.5.11-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.13-3","1.5.17-3","1.5.17-3ubuntu0.1~esm1","1.5.17-3ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.19-2","1.5.21-1","1.5.21-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.23-2","1.5.24-1","1.5.26-1","1.5.26-1build1","1.5.26-1build2","1.5.26-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.28-1build1","1.5.28-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"matio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.29-1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"matio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.29-bp160.1.1"}]}],"bundled":2}],"products":[{"vendor":"matio_project","product":"matio"},{"vendor":"tbeu","product":"matio"}],"references":[{"url":"https://vuldb.com/?id.299802","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?ctiid.299802","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/?submit.510781","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://github.com/tbeu/matio/issues/269","tags":["issue-tracking","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/tbeu/matio/issues/269#issue-2883920922","tags":["exploit","issue-tracking","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2338","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8gp3-5r77-7gpx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2338.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-2338","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-2338","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-2338","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-2337","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-2338","tags":["web"]},{"url":"https://bugzilla.suse.com/1239677","tags":["report"]},{"url":"https://bugzilla.suse.com/1239678","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-2338","title":"tbeu matio io.c strdup_vprintf heap-based overflow","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.","status":"published","published":"2025-03-16T12:31:04.547Z","modified":"2025-07-24T09:43:26.945Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.3,"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","level":"medium","assessor":"cna"},{"version":"3.0","score":6.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","assessor":"cna"}],"cwes":["CWE-122","CWE-119"],"updated_at":"2026-11-02T14:32:38.70481Z"}],"euvd":[{"id":"EUVD-2025-6663","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.","status":"published","published":"2025-03-16T12:31:04Z","modified":"2025-07-24T09:43:26Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T20:32:04.806066Z"}],"ghsa":[{"id":"GHSA-8gp3-5r77-7gpx","title":"A vulnerability, which was classified as critical, was found in tbeu matio 1.5.28. Affected is...","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.","status":"published","published":"2025-03-16T15:32:01Z","modified":"2025-03-16T15:32:07Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:00:18.396411Z"}],"nvd":[{"id":"CVE-2025-2338","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.","status":"published","published":"2025-03-16T13:15:37.827Z","modified":"2026-06-17T09:06:47.01Z","cvss":[{"version":"4.0","score":2.1,"vector":"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","level":"low","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"secondary"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T14:10:54.744127Z"}],"osv":[{"id":"CVE-2025-2338","title":"tbeu matio io.c strdup_vprintf heap-based overflow","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.","status":"published","published":"2025-03-16T12:31:04.547Z","modified":"2026-10-28T02:30:52.360167813Z","cvss":[{"version":"4.0","score":2.1,"vector":"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","level":"low"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T15:44:47.009967Z"},{"id":"DEBIAN-CVE-2025-2338","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.","status":"published","published":"2025-03-16T13:15:37.827Z","modified":"2026-09-01T20:05:44.635595347Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:45.870237Z"},{"id":"UBUNTU-CVE-2025-2338","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.","status":"published","published":"2025-03-16T13:15:00Z","modified":"2026-04-22T15:40:00.372621Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"},{"version":"4.0","score":2.1,"vector":"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","level":"low"}],"updated_at":"2026-11-02T16:55:26.330196Z"},{"id":"DLA-4459-1","title":"libmatio - security update","status":"published","published":"2026-01-29T00:00:00Z","modified":"2026-01-29T13:30:07.277896Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"openSUSE-SU-2026:10002-1","title":"libmatio-devel-1.5.29-1.1 on GA media","description":"These are all security issues fixed in the libmatio-devel-1.5.29-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-01-01T00:00:00Z","modified":"2026-03-23T04:54:19.702153Z","updated_at":"2026-11-02T16:58:38.101535Z"},{"id":"openSUSE-SU-2026:20022-1","title":"Security update for matio","description":"This update for matio fixes the following issues:\n\n- update to version 1.5.29:\n  * Fix printing rank-1-variable in Mat_VarPrint\n  * Fix array index out of bounds in Mat_VarPrint when printing\n    UTF-8 character data (boo#1239678, CVE-2025-2337)\n  * Fix heap-based buffer overflow in strdup_vprintf\n    (boo#1239677, CVE-2025-2338)\n  * Changed Mat_VarPrint to print all values of rank-2-variable\n  * Several other fixes, for example for access violations in\n    Mat_VarPrint\n\n- Update to version 1.5.28:\n  * Fixed bug writing MAT_T_INT8/MAT_T_UINT8 encoded character\n    array to compressed v5 MAT file (regression of v1.5.12).\n  * Fixed bug reading all-zero sparse array of v4 MAT file\n    (regression of v1.5.18).\n  * Updated C99 snprintf.c.\n  * CMake: Enabled testing.\n  * Several other fixes, for example for access violations in\n    Mat_VarPrint.\n","status":"published","published":"2026-01-11T17:15:13Z","modified":"2026-03-23T04:54:41.142788Z","updated_at":"2026-11-02T16:58:41.463445Z"}]}}
