CVE-2016-1840: Buffer Overflow
A vulnerability was found in the libxml2 library. A heap-buffer overflow could happen in xmlFAParsePosCharGroup
References:
https://bugzilla.gnome.org/showbug.cgi?id=757711
Upstream fix:
https://git.gnome.org/browse/libxml2/commit/?id=cbb271655cadeb8dbb258a64701d9a3a0c4835b4
Other sources
Heap-based buffer overflow in the xmlFAParsePosCharGroup function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted XML document.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libxml2to a version that resolves this vulnerability.Fixed in 2.8.0+dfsg1-7+wheezy6Fixed in 2.9.1+dfsg1-5+deb8u2Fixed in 2.9.3+dfsg1-1.1 - Upgrade
Upgrade
libxml2to a version that resolves this vulnerability.Fixed in 2.9.4 - Upgrade
Upgrade
Apple iOSto a version that resolves this vulnerability.Fixed in 9.3.2 - Upgrade
Upgrade
Apple OS Xto a version that resolves this vulnerability.Fixed in 10.11.5 - Upgrade
Upgrade
Apple tvOSto a version that resolves this vulnerability.Fixed in 9.2.1 - Upgrade
Upgrade
Apple watchOSto a version that resolves this vulnerability.Fixed in 2.2.1
Event History
Frequently Asked Questions
What is the severity of CVE-2016-1840?
CVE-2016-1840 has a high severity level due to the potential for a heap-buffer overflow that can lead to arbitrary code execution.
How do I fix CVE-2016-1840?
To fix CVE-2016-1840, upgrade to a fixed version of libxml2 that is 2.9.4+dfsg1-7+deb10u4 or higher.
What systems are affected by CVE-2016-1840?
CVE-2016-1840 affects various systems including Debian, Ubuntu, macOS, and Red Hat Enterprise Linux with specific versions of libxml2.
What is the cause of CVE-2016-1840?
CVE-2016-1840 is caused by a heap-buffer overflow in the libxml2 library during the parsing of character groups.
Is there a known exploit for CVE-2016-1840?
As of now, there are no public exploits specifically targeting CVE-2016-1840, but its nature makes it a potential risk.