Home / Xmlsoft / Libxml2 / CVE-2008-3281
CVE-2008-3281: is it exploited, and which versions of Xmlsoft Libxml2 are affected and fixed?
CVE-2008-3281 is a XML entity expansion (billion laughs) vulnerability in Xmlsoft Libxml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: libxml2 through 2.6.32, safari before 4.0, iphone os from 1.0.0 before 3.0 and 23 more (NVD). Fixed in 4.0 and 3.0 (NVD). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-3281?
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.
From the CVE record by redhat, last updated August 7, 2024, 09:28 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | through 2.6.32 | application |
| apple | safari | before 4.0 | application |
| apple | iphone os | from 1.0.0 before 3.0 | operating system |
| fedoraproject | fedora | 9 | operating system |
| canonical | ubuntu linux | 6.06 | operating system |
| canonical | ubuntu linux | 7.04 | operating system |
| canonical | ubuntu linux | 7.10 | operating system |
| canonical | ubuntu linux | 8.04 | operating system |
| debian | debian linux | 4.0 | operating system |
| redhat | enterprise linux desktop | 3.0 | operating system |
| redhat | enterprise linux desktop | 4.0 | operating system |
| redhat | enterprise linux desktop | 5.0 | operating system |
| redhat | enterprise linux eus | 4.7 | operating system |
| redhat | enterprise linux eus | 5.2 | operating system |
| redhat | enterprise linux server | 2.0 | operating system |
| redhat | enterprise linux server | 3.0 | operating system |
| redhat | enterprise linux server | 4.0 | operating system |
| redhat | enterprise linux server | 5.0 | operating system |
| redhat | enterprise linux workstation | 2.0 | operating system |
| redhat | enterprise linux workstation | 3.0 | operating system |
| redhat | enterprise linux workstation | 4.0 | operating system |
| redhat | enterprise linux workstation | 5.0 | operating system |
| vmware | esx | 2.5.4 | operating system |
| vmware | esx | 2.5.5 | operating system |
| vmware | esx | 3.0.2 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:55 UTC.
How severe is CVE-2008-3281?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-3281 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.51% probability of exploitation activity in the next 30 days, percentile 85.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-776 Improper Restriction of Recursive Entity References in DTDs
Where are the vendor advisories and references?
- USN-644-1 vendor-advisory, x_refsource_UBUNTU
- http://support.apple.com/kb/HT3639 x_refsource_CONFIRM
- 31855 third-party-advisory, x_refsource_SECUNIA
- 1020728 vdb-entry, x_refsource_SECTRACK
- ADV-2009-1621 vdb-entry, x_refsource_VUPEN
- FEDORA-2008-7395 vendor-advisory, x_refsource_FEDORA
- RHSA-2008:0836 vendor-advisory, x_refsource_REDHAT
- 32807 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2009-06-08-1 vendor-advisory, x_refsource_APPLE
- 31982 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-2971 vdb-entry, x_refsource_VUPEN
- http://www.vmware.com/security/advisories/VMSA-2008-0017.html x_refsource_MISC
- ADV-2008-2843 vdb-entry, x_refsource_VUPEN
- http://xmlsoft.org/news.html x_refsource_CONFIRM
- 31590 third-party-advisory, x_refsource_SECUNIA
- ADV-2009-1522 vdb-entry, x_refsource_VUPEN
- 20081031 VMSA-2008-0017 Updated ESX packages for libxml2, ucd-snmp, libtiff mailing-list, x_refsource_BUGTRAQ
- USN-640-1 vendor-advisory, x_refsource_UBUNTU
- 31728 third-party-advisory, x_refsource_SECUNIA
- GLSA-200812-06 vendor-advisory, x_refsource_GENTOO
- APPLE-SA-2009-06-17-1 vendor-advisory, x_refsource_APPLE
- 32488 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2008:018 vendor-advisory, x_refsource_SUSE
- 31566 third-party-advisory, x_refsource_SECUNIA
- 30783 vdb-entry, x_refsource_BID
- http://wiki.rpath.com/Advisories:rPSA-2008-0325 x_refsource_CONFIRM
- oval:org.mitre.oval:def:6496 vdb-entry, signature, x_refsource_OVAL
- ADV-2008-2419 vdb-entry, x_refsource_VUPEN
- 35379 third-party-advisory, x_refsource_SECUNIA
- MDVSA-2008:192 vendor-advisory, x_refsource_MANDRIVA
- 32974 third-party-advisory, x_refsource_SECUNIA
- http://svn.gnome.org/viewvc/libxml2?view=revision&revision=3772 x_refsource_CONFIRM
- FEDORA-2008-7594 vendor-advisory, x_refsource_FEDORA
- DSA-1631 vendor-advisory, x_refsource_DEBIAN
- https://bugzilla.redhat.com/show_bug.cgi?id=458086 x_refsource_CONFIRM
- [xml] 20080820 Security fix for libxml2 mailing-list, x_refsource_MLIST
- oval:org.mitre.oval:def:9812 vdb-entry, signature, x_refsource_OVAL
- MDVSA-2008:180 vendor-advisory, x_refsource_MANDRIVA
- 31558 third-party-advisory, x_refsource_SECUNIA
- http://support.apple.com/kb/HT3613 x_refsource_CONFIRM
- [Security-announce] 20081030 VMSA-2008-0017 Updated ESX packages for libxml2, ucd-snmp, libtiff mailing-list, x_refsource_MLIST
- 31748 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- July 24, 2008
- Published
- August 27, 2008, 20:00 UTC
- CVE record updated
- August 7, 2024, 09:28 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:55 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libxml2?
- Sep 5, 2026CVE-2026-86144 xmlsoft libxml2: incorrect resource transfer
- Sep 5, 2026CVE-2026-86143 xmlsoft libxml2: integer Coercion Error
- Sep 5, 2026CVE-2026-86142 xmlsoft libxml2: heap buffer overflow
- Sep 5, 2026CVE-2026-86141 xmlsoft libxml2: unchecked return value
- Sep 5, 2026CVE-2026-86140 xmlsoft libxml2: stack buffer overflow
- Sep 5, 2026CVE-2026-86139 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86138 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86137 xmlsoft libxml2: out-of-bounds read
Questions about CVE-2008-3281
Is CVE-2008-3281 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 2.51% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Xmlsoft Libxml2 are affected by CVE-2008-3281?
libxml2 through 2.6.32, safari before 4.0, iphone os from 1.0.0 before 3.0, fedora 9, ubuntu linux 6.06, ubuntu linux 7.04 and 20 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-3281?
4.0 and 3.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-3281?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-3281?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.