CVE-2008-3196 Memory corruption in n/a
Attackers can trigger an out-of-bounds stack access in Yacc via crafted grammar rules, potentially causing crashes or code execution.
- 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-2008-3196?
CVE-2008-3196 is a high-severity memory corruption vulnerability in n/a, published on 16 Jul 2008. 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
skeleton.c in yacc does not properly handle reduction of a rule with an empty right hand side, which allows context-dependent attackers to cause an out-of-bounds stack access when the yacc stack pointer points to the end of the stack.
Weakness: CWE-399
Which versions are affected by CVE-2008-3196?
It affects 1 product.
Products include Yacc Yacc.
How do I fix CVE-2008-3196?
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-2008-3196 being exploited?
There is no known exploitation of CVE-2008-3196 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2008-3196, GHSA-8x9m-rr2c-2g59.