{"id":"CVE-2006-5864","published":"2006-11-11T01:00:00Z","modified":"2024-08-07T20:04:55Z","title":"Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly earlier versions, allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.16116,"percentile":0.97,"provenance":"source"},"cwes":[],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30153","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.debian.org/security/2006/dsa-1214","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/23018","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4424","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/22932","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://www.exploit-db.com/exploits/2858","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/23353","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23306","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23266","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23579","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/24787","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2006_26_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.novell.com/linux/security/advisories/2006_28_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/23409","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://security.gentoo.org/glsa/glsa-200704-06.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-24.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.ubuntu.com/usn/usn-390-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/23335","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4747","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.kb.cert.org/vuls/id/352825","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/archive/1/451057/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/23111","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23183","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2006/dsa-1243","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/20978","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://security.gentoo.org/glsa/glsa-200611-20.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/archive/1/451422/100/200/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:214","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/23006","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/22787","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://issues.rpath.com/browse/RPL-850","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30555","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/23118","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/24649","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2006_29_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securityfocus.com/archive/1/452868/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:229","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.ubuntu.com/usn/usn-390-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/usn-390-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.4},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2006-11-28"},"first":{"date":"2006-11-28","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/2858"},"provenance":"source"},"summary":{"text":"A stack-based buffer overflow in the ps_gettext function in ps.c of GNU gv 3.6.2 (and possibly earlier versions) can be triggered by PostScript files with certain headers containing long comments, including DocumentMedia, DocumentPaperSizes, and possibly PageMedia and PaperSize, and it can also be reached through other products that use gv, such as evince. An attacker can execute arbitrary code by getting a user to open a crafted PostScript file, so user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:23Z"},"euvd":{"id":"EUVD-2006-5848","exploited":false,"provenance":"source"},"exploits":[{"id":2858,"url":"https://www.exploit-db.com/exploits/2858","title":"Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow","date":"2006-11-28","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/2858"]}