USN-7307-1

Source
https://ubuntu.com/security/notices/USN-7307-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7307-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7307-1
Related
Published
2025-02-26T22:33:09.993196Z
Modified
2025-02-26T22:33:09.993196Z
Summary
libxmltok vulnerability
Details

Tim Boddy discovered that Expat, contained within the xmltok library, did not properly handle memory reallocation when processing XML files. If a user or application linked against Expat were tricked into opening a crafted XML file, an attacker could cause a denial of service by consuming excessive memory resources.

References

Affected packages

Ubuntu:Pro:18.04:LTS / libxmltok

Package

Name
libxmltok
Purl
pkg:deb/ubuntu/libxmltok@1.2-4ubuntu0.18.04.1~esm5?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2-4ubuntu0.18.04.1~esm5

Affected versions

1.*

1.2-4
1.2-4ubuntu0.18.04.1~esm1
1.2-4ubuntu0.18.04.1~esm2
1.2-4ubuntu0.18.04.1~esm3
1.2-4ubuntu0.18.04.1~esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.2-4ubuntu0.18.04.1~esm5",
            "binary_name": "libxmltok1"
        },
        {
            "binary_version": "1.2-4ubuntu0.18.04.1~esm5",
            "binary_name": "libxmltok1-dbgsym"
        },
        {
            "binary_version": "1.2-4ubuntu0.18.04.1~esm5",
            "binary_name": "libxmltok1-dev"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / libxmltok

Package

Name
libxmltok
Purl
pkg:deb/ubuntu/libxmltok@1.2-4ubuntu0.20.04.1~esm5?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2-4ubuntu0.20.04.1~esm5

Affected versions

1.*

1.2-4
1.2-4ubuntu0.20.04.1~esm1
1.2-4ubuntu0.20.04.1~esm2
1.2-4ubuntu0.20.04.1~esm3
1.2-4ubuntu0.20.04.1~esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.2-4ubuntu0.20.04.1~esm5",
            "binary_name": "libxmltok1"
        },
        {
            "binary_version": "1.2-4ubuntu0.20.04.1~esm5",
            "binary_name": "libxmltok1-dbgsym"
        },
        {
            "binary_version": "1.2-4ubuntu0.20.04.1~esm5",
            "binary_name": "libxmltok1-dev"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / libxmltok

Package

Name
libxmltok
Purl
pkg:deb/ubuntu/libxmltok@1.2-4ubuntu0.22.04.1~esm5?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2-4ubuntu0.22.04.1~esm5

Affected versions

1.*

1.2-4
1.2-4ubuntu0.22.04.1~esm1
1.2-4ubuntu0.22.04.1~esm2
1.2-4ubuntu0.22.04.1~esm3
1.2-4ubuntu0.22.04.1~esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.2-4ubuntu0.22.04.1~esm5",
            "binary_name": "libxmltok1"
        },
        {
            "binary_version": "1.2-4ubuntu0.22.04.1~esm5",
            "binary_name": "libxmltok1-dbgsym"
        },
        {
            "binary_version": "1.2-4ubuntu0.22.04.1~esm5",
            "binary_name": "libxmltok1-dev"
        }
    ]
}

Ubuntu:24.10 / libxmltok

Package

Name
libxmltok
Purl
pkg:deb/ubuntu/libxmltok@1.2-4.1ubuntu3.2?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2-4.1ubuntu3.2

Affected versions

1.*

1.2-4.1ubuntu2
1.2-4.1ubuntu3
1.2-4.1ubuntu3.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.2-4.1ubuntu3.2",
            "binary_name": "libxmltok1-dev"
        },
        {
            "binary_version": "1.2-4.1ubuntu3.2",
            "binary_name": "libxmltok1t64"
        },
        {
            "binary_version": "1.2-4.1ubuntu3.2",
            "binary_name": "libxmltok1t64-dbgsym"
        }
    ]
}

Ubuntu:Pro:24.04:LTS / libxmltok

Package

Name
libxmltok
Purl
pkg:deb/ubuntu/libxmltok@1.2-4.1ubuntu2.24.0.4.1+esm3?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2-4.1ubuntu2.24.0.4.1+esm3

Affected versions

1.*

1.2-4ubuntu1
1.2-4.1ubuntu1
1.2-4.1ubuntu2
1.2-4.1ubuntu2.24.0.4.1+esm1
1.2-4.1ubuntu2.24.0.4.1+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.2-4.1ubuntu2.24.0.4.1+esm3",
            "binary_name": "libxmltok1-dev"
        },
        {
            "binary_version": "1.2-4.1ubuntu2.24.0.4.1+esm3",
            "binary_name": "libxmltok1t64"
        },
        {
            "binary_version": "1.2-4.1ubuntu2.24.0.4.1+esm3",
            "binary_name": "libxmltok1t64-dbgsym"
        }
    ]
}