cve.bz

CVE-2008-3281 Billion Laughs Attack

6.5 mediumEPSS 2.5%Fix available

Medium (6.5). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-3281 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-3281?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-3281?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-3281 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2through 2.6.32
apple:safaribefore 4.0
apple:iphone_osfrom 1.0.0 before 3.0
fedoraproject:fedora9
canonical:ubuntu_linux6.06
canonical:ubuntu_linux7.04
canonical:ubuntu_linux7.10
canonical:ubuntu_linux8.04
debian:debian_linux4.0
redhat:enterprise_linux_desktop3.0
redhat:enterprise_linux_desktop4.0
redhat:enterprise_linux_desktop5.0
redhat:enterprise_linux_eus4.7
redhat:enterprise_linux_eus5.2
redhat:enterprise_linux_server2.0
redhat:enterprise_linux_server3.0
redhat:enterprise_linux_server4.0
redhat:enterprise_linux_server5.0
redhat:enterprise_linux_workstation2.0
redhat:enterprise_linux_workstation3.0
redhat:enterprise_linux_workstation4.0
redhat:enterprise_linux_workstation5.0
vmware:esx2.5.4
vmware:esx2.5.5
vmware:esx3.0.2
vmware:esx3.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0libxml22.6.27.dfsg-3DSA-1631-1
Debian5.0libxml22.6.32.dfsg-2+lenny1DTSA-158-1
Debian12, 13, 14libxml22.6.32.dfsg-3DEBIAN-CVE-2008-3281
Red Hatenterprise_linux:2.1::as, enterprise_linux:2.1::aw, enterprise_linux:2.1::es and 1 morelibxml2, libxml2-devel, libxml2-python0:2.4.19-9.entRHSA-2008:0836
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibxml2, libxml2-devel, libxml2-python and 1 more0:2.5.10-11RHSA-2008:0836
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morelibxml2, libxml2-devel, libxml2-python and 1 more0:2.6.16-12.3RHSA-2008:0836
Red Hatenterprise_linux:5::clientlibxml2, libxml2-python, libxml2-debuginfo0:2.6.26-2.1.2.4RHSA-2008:0836
Red Hatenterprise_linux:5::client_workstationlibxml2, libxml2-devel, libxml2-debuginfo0:2.6.26-2.1.2.4RHSA-2008:0836
Red Hatenterprise_linux:5::serverlibxml2, libxml2-devel, libxml2-python and 1 more0:2.6.26-2.1.2.4RHSA-2008:0836

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 2.1libxml2-0:2.4.19-9.entFixed 2008-08-21RHSA-2008:0836
Red Hat Enterprise Linux 3libxml2-0:2.5.10-11Fixed 2008-08-21RHSA-2008:0836
Red Hat Enterprise Linux 4libxml2-0:2.6.16-12.3Fixed 2008-08-21RHSA-2008:0836
Red Hat Enterprise Linux 5libxml2-0:2.6.26-2.1.2.4Fixed 2008-08-21RHSA-2008:0836

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-3281.

Attack patterns (CAPEC)

  • CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON