{"id":"CVE-2025-2337","aliases":["DEBIAN-CVE-2025-2337","EUVD-2025-6661","GHSA-jcxj-fvhg-33mx","UBUNTU-CVE-2025-2337","openSUSE-SU-2026:10002-1","openSUSE-SU-2026:20022-1"],"status":"published","title":"tbeu matio mat.c Mat_VarPrint heap-based overflow","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.","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-09","score":0.00602,"percentile":0.49075,"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-16T09:31:21Z","modified":"2026-10-28T02:31:14Z","fixes":[{"ecosystem":"Debian:12","package":"libmatio","fixed_in":["1.5.23-2+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libmatio","fixed_in":["1.5.28-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libmatio","fixed_in":["1.5.28-2"],"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"},{"fixed":"1.5.28-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libmatio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.28-2"}]}]},{"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.299801","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?ctiid.299801","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/?submit.510779","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?submit.510780","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/tbeu/matio/issues/267","tags":["issue-tracking","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/tbeu/matio/issues/267#issue-2883856488","tags":["exploit","issue-tracking","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2337","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jcxj-fvhg-33mx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2337.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-2337","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-2337","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-2337","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-2337","title":"tbeu matio mat.c Mat_VarPrint heap-based overflow","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.","status":"published","published":"2025-03-16T09:31:21.364Z","modified":"2025-07-24T09:43:28.926Z","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-6661","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.","status":"published","published":"2025-03-16T09:31:21Z","modified":"2025-07-24T09:43:28Z","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-jcxj-fvhg-33mx","title":"A vulnerability, which was classified as critical, has been found in tbeu matio 1.5.28. This...","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.","status":"published","published":"2025-03-16T12:30:21Z","modified":"2025-08-26T21:32:13Z","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:03:24.943278Z"}],"nvd":[{"id":"CVE-2025-2337","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.","status":"published","published":"2025-03-16T10:15:25.793Z","modified":"2026-06-17T09:06:46.87Z","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-2337","title":"tbeu matio mat.c Mat_VarPrint heap-based overflow","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.","status":"published","published":"2025-03-16T09:31:21.364Z","modified":"2026-10-28T02:31:14.790291072Z","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-2337","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.","status":"published","published":"2025-03-16T10:15:25.793Z","modified":"2026-09-01T20:05:44.601449776Z","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-2337","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.","status":"published","published":"2025-03-16T10:15:00Z","modified":"2026-04-22T15:39:09.306561Z","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":"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"}]}}
