CVE-2006-5864
GNU gv 3.6.2 - Stack-based Buffer Overflow via Long Comments in PostScript Headers
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2006-5864. PoCs published by K-sPecial.
AI-analyzed exploit summary This exploit generates a malicious PostScript file targeting a buffer overflow in Evince (CVE-2006-5864). It includes shellcode for a reverse shell and leverages a 'jmp *%esp' instruction to redirect execution.
Description
Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly earlier versions, allows user-assisted attackers to execute arbitrary code via a PostScript (PS) file with certain headers that contain long comments, as demonstrated using the (1) DocumentMedia, (2) DocumentPaperSizes, and possibly (3) PageMedia and (4) PaperSize headers. NOTE: this issue can be exploited through other products that use gv such as evince.
Exploits (1)
This exploit generates a malicious PostScript file targeting a buffer overflow in Evince (CVE-2006-5864). It includes shellcode for a reverse shell and leverages a 'jmp *%esp' instruction to redirect execution.