CVE-2006-5864
EPSS 30.7%evince
Published: 11/11/2006Modified: 4/28/2026
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.
Affected packages (6)
- Debian/evincefrom 0, < 0.4.0-3
- Debian/evincefrom 0, < 0.1.5-2sarge1
- Debian/gvfrom 0, < 1:3.6.2-3
- Debian/gvfrom 0, < 1:3.6.1-10sarge2
- Debian/gvfrom 0, < 1:3.6.1-10sarge1
- Debian/gvfrom 0, < 1:3.6.1-10sarge2