CVE-2008-3281
libxml2 2.6.32 and earlier does not properly detect recursion during entity expansion in an attribute value, which allows…
Check your servers for CVE-2008-3281
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-3281 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
libxml2 2.6.32 and earlier does not properly detect recursion during entity expansion in an attribute value, which allows context-dependent attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document.
Exploitation
EPSS 2.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 85.4% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-3281 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-3281RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-3281Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-3281
trivy image --scanners vuln IMAGE | grep CVE-2008-3281
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- USN-644-1 usn.ubuntu.com · vendor advisory
- http://support.apple.com/kb/HT3639 support.apple.com
- 31855 secunia.com · third party advisory
- FEDORA-2008-7395 redhat.com · vendor advisory
- RHSA-2008:0836 rhn.redhat.com · vendor advisory
- 32807 secunia.com · third party advisory
- APPLE-SA-2009-06-08-1 lists.apple.com · vendor advisory
- 31982 secunia.com · third party advisory
- http://xmlsoft.org/news.html xmlsoft.org
- 31590 secunia.com · third party advisory
- USN-640-1 ubuntu.com · vendor advisory
- 31728 secunia.com · third party advisory
17 more
- GLSA-200812-06 security.gentoo.org · vendor advisory
- APPLE-SA-2009-06-17-1 lists.apple.com · vendor advisory
- 32488 secunia.com · third party advisory
- SUSE-SR:2008:018 lists.opensuse.org · vendor advisory
- 31566 secunia.com · third party advisory
- http://wiki.rpath.com/Advisories:rPSA-2008-0325 wiki.rpath.com
- 35379 secunia.com · third party advisory
- MDVSA-2008:192 mandriva.com · vendor advisory
- 32974 secunia.com · third party advisory
- http://svn.gnome.org/viewvc/libxml2?view=revision&revision=3772 svn.gnome.org
- FEDORA-2008-7594 redhat.com · vendor advisory
- DSA-1631 debian.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=458086 bugzilla.redhat.com
- MDVSA-2008:180 mandriva.com · vendor advisory
- 31558 secunia.com · third party advisory
- http://support.apple.com/kb/HT3613 support.apple.com
- 31748 secunia.com · third party advisory
Other references
- 1020728 securitytracker.com · vdb entry
- ADV-2009-1621 vupen.com · vdb entry
- ADV-2008-2971 vupen.com · vdb entry
- http://www.vmware.com/security/advisories/VMSA-2008-0017.html vmware.com
- ADV-2008-2843 vupen.com · vdb entry
- ADV-2009-1522 vupen.com · vdb entry
- 20081031 VMSA-2008-0017 Updated ESX packages for libxml2, ucd-snmp, libtiff securityfocus.com · mailing list
- 30783 securityfocus.com · vdb entry
- oval:org.mitre.oval:def:6496 oval.cisecurity.org · vdb entry, signature
- ADV-2008-2419 vupen.com · vdb entry
- [xml] 20080820 Security fix for libxml2 mail.gnome.org · mailing list
- oval:org.mitre.oval:def:9812 oval.cisecurity.org · vdb entry, signature
- [Security-announce] 20081030 VMSA-2008-0017 Updated ESX packages for libxml2, ucd-snmp, libtiff lists.vmware.com · mailing list
Source: the record CVE-2008-3281 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse