CVE-2003-1564
What it is
libxml2, possibly before 2.5.0, does not properly detect recursion during entity expansion, which allows context-dependent attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document containing a large number of nested entity references, aka the "billion laughs attack."
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of service disruption.
- Exploit odds
- 1.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.6% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.6% · EPSS, next 30 days
- Weakness
- CWE-776
- Record status
- Modified
Affected
- Xmlsoft libxml2 < 2.5.0
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2003-1564.md and follow it. Check whether this project is affected by CVE-2003-1564. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://mail.gnome.org/archives/xml/2008-August/msg00034.html
- http://mail.gnome.org/archives/xml/2008-August/msg00034.html
References
- http://mail.gnome.org/archives/xml/2008-August/msg00034.html
- http://secunia.com/advisories/31868
- http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2
- http://www.redhat.com/support/errata/RHSA-2008-0886.html
- http://www.stylusstudio.com/xmldev/200302/post20020.html
- http://xmlsoft.org/news.html
- http://mail.gnome.org/archives/xml/2008-August/msg00034.html
- http://secunia.com/advisories/31868
- http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2
- http://www.redhat.com/support/errata/RHSA-2008-0886.html
- http://www.stylusstudio.com/xmldev/200302/post20020.html
- http://xmlsoft.org/news.html