CVE-2006-5864

NameCVE-2006-5864
DescriptionStack-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1214, DSA-1243-1
Debian Bugs398292, 400904, 400906, 402063

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
evince (PTS)jessie, jessie (lts)3.14.1-2+deb8u3fixed
stretch (security)3.22.1-3+deb9u2fixed
stretch (lts), stretch3.22.1-3+deb9u3fixed
buster (security), buster, buster (lts)3.30.2-3+deb10u1fixed
bullseye3.38.2-1fixed
bookworm43.1-2fixed
sid, trixie46.3.1-1fixed
gv (PTS)jessie, stretch1:3.7.4-1fixed
sid, trixie, buster, bullseye, bookworm1:3.7.4-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
evincesourcesarge0.1.5-2sarge1DSA-1243-1
evincesource(unstable)0.4.0-3medium400904, 400906, 402063
gvsourcesarge1:3.6.1-10sarge2DSA-1214
gvsource(unstable)1:3.6.2-3medium398292

Search for package or bug name: Reporting problems