{"id":"UBUNTU-CVE-2025-2338","details":"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.","modified":"2026-04-22T19:12:05.787617Z","published":"2025-03-16T13:15:00Z","upstream":["CVE-2025-2338"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-2338"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-2338"},{"type":"REPORT","url":"https://github.com/tbeu/matio/issues/269"},{"type":"REPORT","url":"https://github.com/tbeu/matio/issues/269#issue-2883920922"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.299802"},{"type":"REPORT","url":"https://vuldb.com/?id.299802"},{"type":"REPORT","url":"https://vuldb.com/?submit.510781"}],"affected":[{"package":{"name":"libmatio","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libmatio@1.5.2-1ubuntu1+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-1","1.5.2-1","1.5.2-1ubuntu1","1.5.2-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmatio2","binary_version":"1.5.2-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}},{"package":{"name":"libmatio","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libmatio@1.5.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.2-3build2","1.5.3-1","1.5.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmatio2","binary_version":"1.5.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}},{"package":{"name":"libmatio","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libmatio@1.5.11-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.10-1","1.5.11-1","1.5.11-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmatio4","binary_version":"1.5.11-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}},{"package":{"name":"libmatio","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libmatio@1.5.17-3ubuntu0.1~esm2?arch=source&distro=esm-apps/focal"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libmatio9","binary_version":"1.5.17-3ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}},{"package":{"name":"libmatio","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libmatio@1.5.21-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.19-2","1.5.21-1","1.5.21-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmatio11","binary_version":"1.5.21-1ubuntu0.1~esm1"},{"binary_name":"matio-tools","binary_version":"1.5.21-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}},{"package":{"name":"libmatio","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libmatio@1.5.26-1build3?arch=source&distro=noble"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.26-1build3","binary_name":"libmatio11"},{"binary_name":"matio-tools","binary_version":"1.5.26-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}},{"package":{"name":"libmatio","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libmatio@1.5.28-2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.28-1build1","1.5.28-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.28-2","binary_name":"libmatio13"},{"binary_name":"matio-tools","binary_version":"1.5.28-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2338.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}