CVE-2012-0952 Heap overflow in control device ioctl

Medium 5.0 Published Updated

A heap buffer overflow in the Nvidia Linux graphics driver allows attackers to execute arbitrary code or escalate privileges via a crafted ioctl call.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0952?

CVE-2012-0952 is a medium-severity memory corruption vulnerability in nvidia graphics drivers, published on 8 May 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A heap buffer overflow was discovered in the device control ioctl in the Linux driver for Nvidia graphics cards, which may allow an attacker to overflow 49 bytes. This issue was fixed in version 295.53.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2012-0952?

It affects 1 product.

Products include Nvidia Display Driver.

How do I fix CVE-2012-0952?

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-0952 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-0952, GHSA-xg6p-7989-gjfr.

Is CVE-2012-0952 in your software?

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

Check your SBOMs for free