Ahmed Lekssays discovered that libxml2 did not properly perform certain mathematical operations, leading to an integer overflow. An attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-6021)
Ahmed Lekssays discovered that libxml2 did not properly validate the size of an untrusted input stream. An attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-6170)
Nikita Sveshnikov discovered that libxml2 did not properly handle certain XPath expressions, leading to a use-after-free vulnerability. An attacker could potentially exploit this issue to cause a denial of service. (CVE-2025-49794)
Nikita Sveshnikov discovered that libxml2 contained a type confusion vulnerability when parsing specially crafted XML documents. An attacker could potentially exploit this issue to cause a denial of service. (CVE-2025-49796)
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.9.13+dfsg-1ubuntu0.8"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.9.13+dfsg-1ubuntu0.8"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.9.13+dfsg-1ubuntu0.8"
},
{
"binary_name": "python3-libxml2",
"binary_version": "2.9.13+dfsg-1ubuntu0.8"
}
],
"availability": "No subscription required"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.9.14+dfsg-1.3ubuntu3.4"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.9.14+dfsg-1.3ubuntu3.4"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.9.14+dfsg-1.3ubuntu3.4"
},
{
"binary_name": "python3-libxml2",
"binary_version": "2.9.14+dfsg-1.3ubuntu3.4"
}
],
"availability": "No subscription required"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.12.7+dfsg+really2.9.14-0.4ubuntu0.2"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.12.7+dfsg+really2.9.14-0.4ubuntu0.2"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.12.7+dfsg+really2.9.14-0.4ubuntu0.2"
},
{
"binary_name": "python3-libxml2",
"binary_version": "2.12.7+dfsg+really2.9.14-0.4ubuntu0.2"
}
],
"availability": "No subscription required"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:25.04"
}
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm8"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm8"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm8"
},
{
"binary_name": "python-libxml2",
"binary_version": "2.9.1+dfsg1-3ubuntu4.13+esm8"
}
],
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm9"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm9"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm9"
},
{
"binary_name": "python-libxml2",
"binary_version": "2.9.3+dfsg1-1ubuntu0.7+esm9"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.9.4+dfsg1-6.1ubuntu1.9+esm4"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.9.4+dfsg1-6.1ubuntu1.9+esm4"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.9.4+dfsg1-6.1ubuntu1.9+esm4"
},
{
"binary_name": "python-libxml2",
"binary_version": "2.9.4+dfsg1-6.1ubuntu1.9+esm4"
},
{
"binary_name": "python3-libxml2",
"binary_version": "2.9.4+dfsg1-6.1ubuntu1.9+esm4"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
{
"binaries": [
{
"binary_name": "libxml2",
"binary_version": "2.9.10+dfsg-5ubuntu0.20.04.10+esm1"
},
{
"binary_name": "libxml2-dev",
"binary_version": "2.9.10+dfsg-5ubuntu0.20.04.10+esm1"
},
{
"binary_name": "libxml2-utils",
"binary_version": "2.9.10+dfsg-5ubuntu0.20.04.10+esm1"
},
{
"binary_name": "python-libxml2",
"binary_version": "2.9.10+dfsg-5ubuntu0.20.04.10+esm1"
},
{
"binary_name": "python3-libxml2",
"binary_version": "2.9.10+dfsg-5ubuntu0.20.04.10+esm1"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}{
"cves": [
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6021"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-6170"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49794"
},
{
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"id": "CVE-2025-49796"
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}