CVE-2006-5864

Summary

CVECVE-2006-5864
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2006-11-11 01:07:00 UTC
Updated2026-04-23 00:35:47 UTC
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.

Risk And Classification

Primary CVSS: v2.0 5.1 from [email protected]

AV:N/AC:H/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:H/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Gv 3.5.8 All All All
Application Gnu Gv 3.6.0 All All All
Application Gnu Gv 3.6.1 All All All
Application Gnu Gv 3.6.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow - Linux remote Exploit af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
rPath update for evince - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Gentoo Linux Documentation -- GNU gv: Stack overflow af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Gentoo update for evince - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Ubuntu update for evince - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Mandriva update for gv - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
usn/usn-390-3 - Ubuntu: Linux for human beings af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
issues.rpath.com/browse/RPL-850 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
Gentoo mgv Buffer Overflow Vulnerability - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
Debian update for evince - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Debian update for gv - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Mandriva update for evince - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Evince "get_next_text()" Buffer Overflow Vulnerability - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
US-CERT Vulnerability Note VU#352825 af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org US Government Resource
Webmail | OVH- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
GNU GV Stack Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit
Gentoo Linux Documentation -- Evince: Stack overflow in included gv code af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Debian -- Security Information -- DSA-1214-2 gv af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Ubuntu update for evince-gtk - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
USN-390-2: evince vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Debian -- Security Information -- DSA-1243-1 evince af854a3a-2127-422b-91ae-364da2661108 www.debian.org
mgv: Stack overflow in included gv code — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Gentoo update for gv - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
USN-390-1: evince vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Webmail | OVH- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
GNU gv "ps_gettext()" Buffer Overflow Vulnerability - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-09-07Mark J CoxRed Hat is aware of this issue and is tracking it via the following bug for Red Hat Enterprise Linux 2.1. This issue did not affect Red Hat Enterprise Linux 3 or 4. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215593 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: http://www.redhat.com/security/updates/classification/ Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch. 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report