CVE-2014-3660

NameCVE-2014-3660
Descriptionparser.c in libxml2 before 2.9.2 does not properly prevent entity expansion even when entity substitution has been disabled, which allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted XML document containing a large number of nested entity references, a variant of the "billion laughs" attack.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-151-1, DLA-80-1, DSA-2978-2, DSA-3057-1
Debian Bugs765722

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)buster2.9.4+dfsg1-7+deb10u4fixed
buster (security)2.9.4+dfsg1-7+deb10u6fixed
bullseye (security), bullseye2.9.10+dfsg-6.7+deb11u4fixed
bookworm2.9.14+dfsg-1.3~deb12u1fixed
sid, trixie2.9.14+dfsg-1.3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2sourcesqueeze2.7.8.dfsg-2+squeeze11DLA-151-1
libxml2sourcewheezy2.8.0+dfsg1-7+wheezy3DSA-2978-2
libxml2sourcejessie2.9.1+dfsg1-5
libxml2source(unstable)2.9.2+dfsg1-1765722

Notes

https://www.ncsc.nl/actueel/nieuwsberichten/kwetsbaarheid-ontdekt-in-libxml2.html
https://gitlab.gnome.org/GNOME/libxml2/-/commit/be2a7edaf289c5da74a4f9ed3a0b6c733e775230
Beware the upstream patch relies on other commits not
available in the squeeze/wheezy version (at least cff2546f that
changes how the ent->checked variable is used and likely a3f1e3e5 too)

Search for package or bug name: Reporting problems