CVE-2012-2871 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can cause denial of service or other impacts via crafted documents due to improper casting in libxml2 XSL transforms.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-2871?

CVE-2012-2871 is a medium-severity memory corruption vulnerability in Apple Iphone Os, published on 31 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

libxml2 2.9.0-rc1 and earlier, as used in Google Chrome before 21.0.1180.89, does not properly support a cast of an unspecified variable during handling of XSL transforms, which allows remote attackers to cause a denial of service or possibly have unknown other impact via a crafted document, related to the _xmlNs data structure in include/libxml/tree.h.

Which versions are affected by CVE-2012-2871?

It affects 3 products.

Products include Apple Iphone Os, Google Chrome, Xmlsoft Libxml2.

How do I fix CVE-2012-2871?

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-2012-2871 being exploited?

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

All Apple Iphone Os vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-2871, GHSA-259f-5jp2-pgmr.

Is CVE-2012-2871 in your software?

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

Check your SBOMs for free