CVE-2004-0158: Buffer overflow in lbreakout2 allows local users to gain 'games' group privileges via a large HOME environment
CVE-2004-0158 is a medium-severity flaw (CVSS 4.6) affecting lbreakout2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.6 (Medium) |
| EPSS exploit chance | 0.9% (top 41%) |
| CISA exploited list | No |
| Published | 2004-03-29 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0158?
lbreakout2: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0158 being exploited?
CVE-2004-0158 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0158 affect?
CVE-2004-0158 affects lbreakout2. Severity is medium (CVSS 4.6). 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.
How urgent is CVE-2004-0158?
Priority 36/100. Public exploit reference