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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | byacc | 20070509-1.1 | — |
| Debian 13 | byacc | 20070509-1.1 | — |
| Debian 12 | byacc | 20070509-1.1 | — |
References
- [openbsd-cvs] 20080708 Re: CVS: cvs.openbsd.org: src mailing-list
- 31073 third-party-advisory
- [openbsd-cvs] 20080708 CVS: cvs.openbsd.org: src mailing-list
- ADV-2008-2151 vdb-entry