{"id":"USN-7913-1","summary":"mame vulnerabilities","details":"It was discovered that the stb library, included in MAME, had a  heap-based\nbuffer overflow. An attacker could possibly use this issue  to crash the\nprogram or execute arbitrary code. (CVE-2018-16981)\n\nIt was discovered that the tinyexr library, included in MAME, had a heap-\nbased buffer over-read  in the function DecodePixelData. An  attacker could\npossibly use this issue to expose sensitive information or crash the\nprogram. (CVE-2022-34300)\n\nIt was discovered that the expat library, included in MAME, had an\ninteger-overflow in the function doProlog. An attacker could possibly use\nthis issue to crash the program or execute arbitrary code.\n(CVE-2021-46143)","modified":"2026-02-10T04:50:46Z","published":"2025-12-04T18:10:48Z","related":["UBUNTU-CVE-2018-16981","UBUNTU-CVE-2021-46143","UBUNTU-CVE-2022-34300"],"upstream":["CVE-2018-16981","CVE-2021-46143","CVE-2022-34300","UBUNTU-CVE-2018-16981","UBUNTU-CVE-2021-46143","UBUNTU-CVE-2022-34300"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7913-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16981"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-46143"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-34300"}],"affected":[{"package":{"name":"mame","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mame@0.195+dfsg.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.195+dfsg.1-2ubuntu0.1~esm1"}]}],"versions":["0.188+dfsg.1-0ubuntu2","0.189+dfsg.1-1","0.192+dfsg.1-0ubuntu1","0.195+dfsg.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"mame","binary_version":"0.195+dfsg.1-2ubuntu0.1~esm1"},{"binary_name":"mame-data","binary_version":"0.195+dfsg.1-2ubuntu0.1~esm1"},{"binary_name":"mame-tools","binary_version":"0.195+dfsg.1-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7913-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2018-16981","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-46143","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-34300","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"mame","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/mame@0.220+dfsg.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.220+dfsg.1-1ubuntu0.1~esm1"}]}],"versions":["0.206+dfsg.1-1","0.214+dfsg.1-2","0.215+dfsg.1-1","0.217+dfsg.1-1","0.217+dfsg.1-1build1","0.218+dfsg.1-1","0.220+dfsg.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mame","binary_version":"0.220+dfsg.1-1ubuntu0.1~esm1"},{"binary_name":"mame-data","binary_version":"0.220+dfsg.1-1ubuntu0.1~esm1"},{"binary_name":"mame-tools","binary_version":"0.220+dfsg.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7913-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2018-16981","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-46143","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-34300","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"mame","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/mame@0.242+dfsg.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.242+dfsg.1-1ubuntu0.1~esm1"}]}],"versions":["0.235+dfsg.1-1ubuntu1","0.237+dfsg.1-1","0.238+dfsg.1-1","0.239+dfsg.1-1","0.240+dfsg.1-1","0.242+dfsg.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mame","binary_version":"0.242+dfsg.1-1ubuntu0.1~esm1"},{"binary_name":"mame-data","binary_version":"0.242+dfsg.1-1ubuntu0.1~esm1"},{"binary_name":"mame-tools","binary_version":"0.242+dfsg.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7913-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"id":"CVE-2018-16981","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-46143","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-34300","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"mame","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/mame@0.264+dfsg.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.264+dfsg.1-1ubuntu0.1~esm1"}]}],"versions":["0.257+dfsg.1-1","0.258+dfsg.1-1build1","0.261+dfsg.1-1","0.261+dfsg.1-1build2","0.261+dfsg.1-1build3","0.264+dfsg.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mame","binary_version":"0.264+dfsg.1-1ubuntu0.1~esm1"},{"binary_name":"mame-data","binary_version":"0.264+dfsg.1-1ubuntu0.1~esm1"},{"binary_name":"mame-tools","binary_version":"0.264+dfsg.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7913-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"id":"CVE-2018-16981","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-46143","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-34300","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"mame","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/mame@0.277+dfsg.1-4ubuntu0.1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.277+dfsg.1-4ubuntu0.1"}]}],"versions":["0.275+dfsg.1-3","0.277+dfsg.1-4"],"ecosystem_specific":{"binaries":[{"binary_name":"mame","binary_version":"0.277+dfsg.1-4ubuntu0.1"},{"binary_name":"mame-data","binary_version":"0.277+dfsg.1-4ubuntu0.1"},{"binary_name":"mame-tools","binary_version":"0.277+dfsg.1-4ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7913-1.json","cves_map":{"ecosystem":"Ubuntu:25.10","cves":[{"id":"CVE-2018-16981","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2021-46143","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-34300","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.3"}