USN-7913-1

Source
https://ubuntu.com/security/notices/USN-7913-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7913-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7913-1
Upstream
Related
Published
2025-12-04T18:10:48.731859Z
Modified
2025-12-05T15:48:07.928963Z
Summary
mame vulnerabilities
Details

It was discovered that the stb library, included in MAME, had a heap-based buffer overflow. An attacker could possibly use this issue to crash the program or execute arbitrary code. (CVE-2018-16981)

It was discovered that the tinyexr library, included in MAME, had a heap- based buffer over-read in the function DecodePixelData. An attacker could possibly use this issue to expose sensitive information or crash the program. (CVE-2022-34300)

It was discovered that the expat library, included in MAME, had an integer-overflow in the function doProlog. An attacker could possibly use this issue to crash the program or execute arbitrary code. (CVE-2021-46143)

References

Affected packages

Ubuntu:25.04

mame

Package

Name
mame
Purl
pkg:deb/ubuntu/mame@0.275+dfsg.1-3ubuntu0.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.275+dfsg.1-3ubuntu0.1

Affected versions

0.*

0.269+dfsg.1-1
0.270+dfsg.1-1
0.272+dfsg.1-1
0.273+dfsg.1-1
0.274+dfsg.1-2
0.275+dfsg.1-3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.275+dfsg.1-3ubuntu0.1",
            "binary_name": "mame"
        },
        {
            "binary_version": "0.275+dfsg.1-3ubuntu0.1",
            "binary_name": "mame-data"
        },
        {
            "binary_version": "0.275+dfsg.1-3ubuntu0.1",
            "binary_name": "mame-tools"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2018-16981",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2021-46143",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2022-34300",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:25.04"
}

Ubuntu:25.10

mame

Package

Name
mame
Purl
pkg:deb/ubuntu/mame@0.277+dfsg.1-4ubuntu0.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.277+dfsg.1-4ubuntu0.1

Affected versions

0.*

0.275+dfsg.1-3
0.277+dfsg.1-4

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.277+dfsg.1-4ubuntu0.1",
            "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"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2018-16981",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2021-46143",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2022-34300",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:25.10"
}

Ubuntu:Pro:18.04:LTS

mame

Package

Name
mame
Purl
pkg:deb/ubuntu/mame@0.195+dfsg.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.195+dfsg.1-2ubuntu0.1~esm1

Affected versions

0.*

0.188+dfsg.1-0ubuntu2
0.189+dfsg.1-1
0.192+dfsg.1-0ubuntu1
0.195+dfsg.1-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.195+dfsg.1-2ubuntu0.1~esm1",
            "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"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2018-16981",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2021-46143",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2022-34300",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:18.04:LTS"
}

Ubuntu:Pro:20.04:LTS

mame

Package

Name
mame
Purl
pkg:deb/ubuntu/mame@0.220+dfsg.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.220+dfsg.1-1ubuntu0.1~esm1

Affected versions

0.*

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

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.220+dfsg.1-1ubuntu0.1~esm1",
            "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"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2018-16981",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2021-46143",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2022-34300",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:20.04:LTS"
}

Ubuntu:Pro:22.04:LTS

mame

Package

Name
mame
Purl
pkg:deb/ubuntu/mame@0.242+dfsg.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.242+dfsg.1-1ubuntu0.1~esm1

Affected versions

0.*

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

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.242+dfsg.1-1ubuntu0.1~esm1",
            "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"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2018-16981",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2021-46143",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2022-34300",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:22.04:LTS"
}

Ubuntu:Pro:24.04:LTS

mame

Package

Name
mame
Purl
pkg:deb/ubuntu/mame@0.264+dfsg.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.264+dfsg.1-1ubuntu0.1~esm1

Affected versions

0.*

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

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.264+dfsg.1-1ubuntu0.1~esm1",
            "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"
        }
    ]
}

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2018-16981",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2021-46143",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "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": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2022-34300",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "low"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:24.04:LTS"
}