CVE-2012-1189 Memory corruption in n/a

Critical 9.3 Published Updated

Attackers can execute arbitrary code by tricking users into opening a malicious XML configuration file with a long filename in TORCS or Speed Dreams.

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-2012-1189?

CVE-2012-1189 is a critical memory corruption vulnerability in n/a, published on 8 Oct 2012. 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

Stack-based buffer overflow in modules/graphic/ssgraph/grsound.cpp in The Open Racing Car Simulator (TORCS) before 1.3.3 and Speed Dreams allows user-assisted remote attackers to execute arbitrary code via a long file name in an engine sample attribute in an xml configuration file.

Weakness: CWE-119

Which versions are affected by CVE-2012-1189?

It affects 2 products.

Products include Bernhard Wymann Torcs, Speed-Dreams Speed Dreams.

How do I fix CVE-2012-1189?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1189 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2012-1189, GHSA-hx2c-qfwc-wm58.

Is CVE-2012-1189 in your software?

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

Check your SBOMs for free