U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2006-5864 Detail

Current 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.


View Analysis Description

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology
NIST: NVD
Base Score:  5.1 MEDIUM
Vector:  (AV:N/AC:H/Au:N/C:P/I:P/A:P)

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/07/2007)

Red 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.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

URL Source(s) Tag(s)
http://secunia.com/advisories/22787 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/22932 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23006 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23018 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23111 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23118 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23183 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23266 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23306 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23335 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23353 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23409 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/23579 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/24649 CVE, MITRE Vendor Advisory 
http://secunia.com/advisories/24787 CVE, MITRE Vendor Advisory 
http://security.gentoo.org/glsa/glsa-200611-20.xml CVE, MITRE
http://security.gentoo.org/glsa/glsa-200703-24.xml CVE, MITRE
http://security.gentoo.org/glsa/glsa-200704-06.xml CVE, MITRE
http://www.debian.org/security/2006/dsa-1214 CVE, MITRE
http://www.debian.org/security/2006/dsa-1243 CVE, MITRE
http://www.kb.cert.org/vuls/id/352825 CVE, MITRE US Government Resource 
http://www.mandriva.com/security/advisories?name=MDKSA-2006:214 CVE, MITRE
http://www.mandriva.com/security/advisories?name=MDKSA-2006:229 CVE, MITRE
http://www.novell.com/linux/security/advisories/2006_26_sr.html CVE, MITRE
http://www.novell.com/linux/security/advisories/2006_28_sr.html CVE, MITRE
http://www.novell.com/linux/security/advisories/2006_29_sr.html CVE, MITRE
http://www.securityfocus.com/archive/1/451057/100/0/threaded CVE, MITRE
http://www.securityfocus.com/archive/1/451422/100/200/threaded CVE, MITRE
http://www.securityfocus.com/archive/1/452868/100/0/threaded CVE, MITRE
http://www.securityfocus.com/bid/20978 CVE, MITRE Exploit 
http://www.ubuntu.com/usn/usn-390-1 CVE, MITRE
http://www.ubuntu.com/usn/usn-390-2 CVE, MITRE
http://www.ubuntu.com/usn/usn-390-3 CVE, MITRE
http://www.vupen.com/english/advisories/2006/4424 CVE, MITRE Vendor Advisory 
http://www.vupen.com/english/advisories/2006/4747 CVE, MITRE Vendor Advisory 
https://exchange.xforce.ibmcloud.com/vulnerabilities/30153 CVE, MITRE
https://exchange.xforce.ibmcloud.com/vulnerabilities/30555 CVE, MITRE
https://issues.rpath.com/browse/RPL-850 CVE, MITRE
https://www.exploit-db.com/exploits/2858 CVE, MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:gnu:gv:3.5.8:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:gnu:gv:3.6.0:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:gnu:gv:3.6.1:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:gnu:gv:3.6.2:*:*:*:*:*:*:*
   Show Matching CPE(s)

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2006-5864
NVD Published Date:
11/10/2006
NVD Last Modified:
04/08/2025
Source:
MITRE