CVE-2016-1840 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted XML documents due to a heap-based buffer overflow in libxml2.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-1840?

CVE-2016-1840 is a high-severity memory corruption vulnerability in Apple Iphone Os, published on 20 May 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2016-1840?

It affects 14 products.

Products include Apple Iphone Os, Apple Mac Os X, Apple Tvos, Apple Watchos, Canonical Ubuntu Linux, Debian Debian Linux and 8 more.

How do I fix CVE-2016-1840?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-1840 being exploited?

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

All Apple Iphone Os vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-1840, ECHO-6ec4-9f57-9f28, GHSA-7v3g-4pq5-c565, UBUNTU-CVE-2016-1840.

Is CVE-2016-1840 in your software?

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

Check your SBOMs for free