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."
The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.
Link | Tags |
---|---|
http://secunia.com/advisories/31868 | third party advisory broken link |
http://xmlsoft.org/news.html | release notes |
http://www.stylusstudio.com/xmldev/200302/post20020.html | broken link mailing list |
http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2 | issue tracking |
http://mail.gnome.org/archives/xml/2008-August/msg00034.html | patch mailing list |
http://www.redhat.com/support/errata/RHSA-2008-0886.html | vendor advisory broken link |