CVE-2021-3541
medium · 6.5A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.
A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.
CVE-2021-3541 is rated MEDIUM (6.5), with 12 indexed affected package builds across 3 distributions.
https://pkgseek.com/embed/security/CVE-2021-3541?locale=en
Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.
Newest affected build per package, repository source and distribution release.
libxml22.9.7-9.1.al8Fixed in 2.9.7-9.1.al8.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libxml2libxml2-devel2.9.7-9.1.al8Fixed in 2.9.7-9.1.al8.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libxml2-develpython3-libxml22.9.7-9.1.al8Fixed in 2.9.7-9.1.al8.2Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade python3-libxml2libxml22.9.7-9.0.2.el8_4.2Fixed in 2.9.7-9.0.1.el8_4.2ELSA-2021-2569· Affected according to vendor evidenceEvidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR
Verified 7/16/2026
ELSA-2022-0899· Affected according to vendor evidenceEvidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libxml2libxml2-devel2.9.7-9.0.2.el8_4.2Fixed in 2.9.7-9.0.1.el8_4.2ELSA-2021-2569· Affected according to vendor evidenceEvidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR
Verified 7/16/2026
ELSA-2022-0899· Affected according to vendor evidenceEvidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libxml2-develpython3-libxml22.9.7-9.0.2.el8_4.2Fixed in 2.9.7-9.0.1.el8_4.2ELSA-2021-2569· Affected according to vendor evidenceEvidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR
Verified 7/16/2026
ELSA-2022-0899· Affected according to vendor evidenceEvidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade python3-libxml2libxml22.9.10+dfsg-5Fixed in 2.9.10+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-3541· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-4991-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libxml2libxml2-dev2.9.10+dfsg-5Fixed in 2.9.10+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-3541· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-4991-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libxml2-devlibxml2-doc2.9.10+dfsg-5Fixed in 2.9.10+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-3541· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-4991-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libxml2-doclibxml2-utils2.9.10+dfsg-5Fixed in 2.9.10+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-3541· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-4991-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libxml2-utilspython3-libxml22.9.10+dfsg-5Fixed in 2.9.10+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-3541· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-4991-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade python3-libxml2python3-libxml2-dbg2.9.10+dfsg-5Fixed in 2.9.10+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-3541· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-4991-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade python3-libxml2-dbgCached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.