CVE-2015-8806 Denial of service or RCE from libxml2 and libxslt

High 7.5 Published Updated

Remote attackers can crash applications using libxml2 by sending crafted HTML documents with specific malformed DOCTYPE declarations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-8806?

CVE-2015-8806 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 13 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

dict.c in libxml2 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via an unexpected character immediately after the "<!DOCTYPE html" substring in a crafted HTML document.

Which versions are affected by CVE-2015-8806?

2 open source packages ship an affected version, including nokogiri. It affects 3 products.

PackageAffectedFixed in
nokogiri RubyGemsFrom 1.6.01.6.8
nokogiri RubyGemsFrom 1.6.01.6.8

Products include Canonical Ubuntu Linux, Debian Debian Linux, Xmlsoft Libxml2.

How do I fix CVE-2015-8806?

Upgrade nokogiri to 1.6.8 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2015-8806 being exploited?

There is no known exploitation of CVE-2015-8806 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-8806, ECHO-a20a-0b3f-eaef, GHSA-7hp2-xwpj-95jq, UBUNTU-CVE-2015-8806.

Is CVE-2015-8806 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free