CVE-2004-0158 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can exploit a buffer overflow in lbreakout2 via a large HOME variable to gain games group privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0158?

CVE-2004-0158 is a medium-severity memory corruption vulnerability in n/a, published on 10 Mar 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer overflow in lbreakout2 allows local users to gain 'games' group privileges via a large HOME environment variable to (1) editor.c, (2) theme.c, (3) manager.c, (4) config.c, (5) game.c, (6) levels.c, or (7) main.c.

Which versions are affected by CVE-2004-0158?

It affects 1 product.

Products include Lgames Lbreakout2.

How do I fix CVE-2004-0158?

Apply the vendor's patch.

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

Is CVE-2004-0158 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2004-0158, DSA-445, GHSA-jvqp-w76h-93jf.

Is CVE-2004-0158 in your software?

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

Check your SBOMs for free