Red Hat Bugzilla – Bug 215593
CVE-2006-5864 GNU gv contains a buffer overflow in gettext()
Last modified: 2007-11-30 17:06:55 EST
Description of problem:
The function gettext() in ps.c is vulnerable to a buffer overflow condition,
because it copies characters from input file to a fixed-sized array text.
Version-Release number of selected component (if applicable):
With specially crafted files looking like either of those below this paragraph.
(Replace ... with something a bit longer than PSLINELENGTH (256), so it
overwrites stack. It can be potantially malicious code that might get executed
on functio return)
Alternatively use exploit attached to original advisory, which connects to
a TCP socket and opens a shell.
Ggv and kghostview seem not to contain the affected code.
Created attachment 141170 [details]
A patch from Gentoo Linux project
This flaw has been rated as having a low severity by the Red Hat Security
Response Team. More information about this rating can be found here:
The risks associated with fixing this bug are greater than the low severity
security risk. We therefore currently have no plans to fix this flaw in Red Hat
Enterprise Linux 2.1 which is in maintenance mode.
If you believe this judgement to be in error, please reopen this bug with an