usn-7307-1
Vulnerability from osv_ubuntu
Published
2025-02-26 22:33
Modified
2026-04-27 14:11
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
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2012-1148",
"severity": [
{
"score": "low",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libxmltok1",
"binary_version": "1.2-4ubuntu0.18.04.1~esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "libxmltok",
"purl": "pkg:deb/ubuntu/libxmltok@1.2-4ubuntu0.18.04.1~esm5?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2-4ubuntu0.18.04.1~esm5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2012-1148",
"severity": [
{
"score": "low",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libxmltok1",
"binary_version": "1.2-4ubuntu0.20.04.1~esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "libxmltok",
"purl": "pkg:deb/ubuntu/libxmltok@1.2-4ubuntu0.20.04.1~esm5?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2-4ubuntu0.20.04.1~esm5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2012-1148",
"severity": [
{
"score": "low",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libxmltok1",
"binary_version": "1.2-4ubuntu0.22.04.1~esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "libxmltok",
"purl": "pkg:deb/ubuntu/libxmltok@1.2-4ubuntu0.22.04.1~esm5?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2-4ubuntu0.22.04.1~esm5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2012-1148",
"severity": [
{
"score": "low",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libxmltok1t64",
"binary_version": "1.2-4.1ubuntu2.24.0.4.1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "libxmltok",
"purl": "pkg:deb/ubuntu/libxmltok@1.2-4.1ubuntu2.24.0.4.1+esm3?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2-4.1ubuntu2.24.0.4.1+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [],
"details": "Tim Boddy discovered that Expat, contained within the xmltok library, did\nnot properly handle memory reallocation when processing XML files. If a\nuser or application linked against Expat were tricked into opening a\ncrafted XML file, an attacker could cause a denial of service by consuming\nexcessive memory resources.\n",
"id": "USN-7307-1",
"modified": "2026-04-27T14:11:40Z",
"published": "2025-02-26T22:33:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7307-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2012-1148"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "libxmltok vulnerability",
"upstream": [
"UBUNTU-CVE-2012-1148"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…