Skip to content

CVE-2006-5864 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...

MediumCVSS 5.1 EPSS 16.1% Public exploit
Published
Updated
Exploit status
Public exploit available

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 products

ProductAffected versionsFixed in
GNU gv = 3.5.8 No fix listed
GNU gv = 3.6.0 No fix listed
GNU gv = 3.6.1 No fix listed
GNU gv = 3.6.2 No fix listed
debian/evince(Debian:12) < 0.4.0-3 0.4.0-3
debian/evince(Debian:13) < 0.4.0-3 0.4.0-3
debian/gv(Debian:12) < 1:3.6.2-3 1:3.6.2-3
debian/gv(Debian:13) < 1:3.6.2-3 1:3.6.2-3
debian/gv(Debian:14) < 1:3.6.2-3 1:3.6.2-3

References