{"id":"CVE-2006-5864","state":"PUBLISHED","title":"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 PostS","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.","publishedAt":"2006-11-11T01:00:00.000Z","updatedAt":"2024-08-07T20:04:55.621Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://exchange.xforce.ibmcloud.com/vulnerabilities/30153","http://www.debian.org/security/2006/dsa-1214","http://secunia.com/advisories/23018","http://www.vupen.com/english/advisories/2006/4424","http://secunia.com/advisories/22932","https://www.exploit-db.com/exploits/2858","http://secunia.com/advisories/23353","http://secunia.com/advisories/23306","http://secunia.com/advisories/23266","http://secunia.com/advisories/23579","http://secunia.com/advisories/24787","http://www.novell.com/linux/security/advisories/2006_26_sr.html","http://www.novell.com/linux/security/advisories/2006_28_sr.html","http://secunia.com/advisories/23409","http://security.gentoo.org/glsa/glsa-200704-06.xml","http://security.gentoo.org/glsa/glsa-200703-24.xml","http://www.ubuntu.com/usn/usn-390-2","http://secunia.com/advisories/23335","http://www.vupen.com/english/advisories/2006/4747","http://www.kb.cert.org/vuls/id/352825","http://www.securityfocus.com/archive/1/451057/100/0/threaded","http://secunia.com/advisories/23111","http://secunia.com/advisories/23183","http://www.debian.org/security/2006/dsa-1243","http://www.securityfocus.com/bid/20978","http://security.gentoo.org/glsa/glsa-200611-20.xml","http://www.securityfocus.com/archive/1/451422/100/200/threaded","http://www.mandriva.com/security/advisories?name=MDKSA-2006:214","http://secunia.com/advisories/23006","http://secunia.com/advisories/22787","https://issues.rpath.com/browse/RPL-850","https://exchange.xforce.ibmcloud.com/vulnerabilities/30555","http://secunia.com/advisories/23118","http://secunia.com/advisories/24649","http://www.novell.com/linux/security/advisories/2006_29_sr.html","http://www.securityfocus.com/archive/1/452868/100/0/threaded","http://www.mandriva.com/security/advisories?name=MDKSA-2006:229","http://www.ubuntu.com/usn/usn-390-3","http://www.ubuntu.com/usn/usn-390-1"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:54.716Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2006/5xxx/CVE-2006-5864.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2006-5864","state":"PUBLISHED","datePublished":"2006-11-11T01:00:00.000Z","dateUpdated":"2024-08-07T20:04:55.621Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2006-11-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30153","name":"gnu-gv-buffer-overflow(30153)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.debian.org/security/2006/dsa-1214","name":"DSA-1214","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/23018","name":"23018","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4424","name":"ADV-2006-4424","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/22932","name":"22932","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://www.exploit-db.com/exploits/2858","name":"2858","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/23353","name":"23353","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23306","name":"23306","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23266","name":"23266","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23579","name":"23579","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/24787","name":"24787","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2006_26_sr.html","name":"SUSE-SR:2006:026","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.novell.com/linux/security/advisories/2006_28_sr.html","name":"SUSE-SR:2006:028","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/23409","name":"23409","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://security.gentoo.org/glsa/glsa-200704-06.xml","name":"GLSA-200704-06","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-24.xml","name":"GLSA-200703-24","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.ubuntu.com/usn/usn-390-2","name":"USN-390-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/23335","name":"23335","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4747","name":"ADV-2006-4747","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.kb.cert.org/vuls/id/352825","name":"VU#352825","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/archive/1/451057/100/0/threaded","name":"20061109 GNU gv Stack Overflow Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/23111","name":"23111","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/23183","name":"23183","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2006/dsa-1243","name":"DSA-1243","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/20978","name":"20978","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://security.gentoo.org/glsa/glsa-200611-20.xml","name":"GLSA-200611-20","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/archive/1/451422/100/200/threaded","name":"20061112 Re: GNU gv Stack Overflow Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:214","name":"MDKSA-2006:214","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/23006","name":"23006","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/22787","name":"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","name":"evince-postscript-bo(30555)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/23118","name":"23118","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/24649","name":"24649","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2006_29_sr.html","name":"SUSE-SR:2006:029","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securityfocus.com/archive/1/452868/100/0/threaded","name":"20061128 evince buffer overflow exploit (gv)","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:229","name":"MDKSA-2006:229","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.ubuntu.com/usn/usn-390-3","name":"USN-390-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/usn-390-1","name":"USN-390-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-17T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2006-11-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-5864","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"gnu-gv-buffer-overflow(30153)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30153"},{"name":"DSA-1214","refsource":"DEBIAN","url":"http://www.debian.org/security/2006/dsa-1214"},{"name":"23018","refsource":"SECUNIA","url":"http://secunia.com/advisories/23018"},{"name":"ADV-2006-4424","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2006/4424"},{"name":"22932","refsource":"SECUNIA","url":"http://secunia.com/advisories/22932"},{"name":"2858","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/2858"},{"name":"23353","refsource":"SECUNIA","url":"http://secunia.com/advisories/23353"},{"name":"23306","refsource":"SECUNIA","url":"http://secunia.com/advisories/23306"},{"name":"23266","refsource":"SECUNIA","url":"http://secunia.com/advisories/23266"},{"name":"23579","refsource":"SECUNIA","url":"http://secunia.com/advisories/23579"},{"name":"24787","refsource":"SECUNIA","url":"http://secunia.com/advisories/24787"},{"name":"SUSE-SR:2006:026","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2006_26_sr.html"},{"name":"SUSE-SR:2006:028","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2006_28_sr.html"},{"name":"23409","refsource":"SECUNIA","url":"http://secunia.com/advisories/23409"},{"name":"GLSA-200704-06","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200704-06.xml"},{"name":"GLSA-200703-24","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200703-24.xml"},{"name":"USN-390-2","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-390-2"},{"name":"23335","refsource":"SECUNIA","url":"http://secunia.com/advisories/23335"},{"name":"ADV-2006-4747","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2006/4747"},{"name":"VU#352825","refsource":"CERT-VN","url":"http://www.kb.cert.org/vuls/id/352825"},{"name":"20061109 GNU gv Stack Overflow Vulnerability","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/451057/100/0/threaded"},{"name":"23111","refsource":"SECUNIA","url":"http://secunia.com/advisories/23111"},{"name":"23183","refsource":"SECUNIA","url":"http://secunia.com/advisories/23183"},{"name":"DSA-1243","refsource":"DEBIAN","url":"http://www.debian.org/security/2006/dsa-1243"},{"name":"20978","refsource":"BID","url":"http://www.securityfocus.com/bid/20978"},{"name":"GLSA-200611-20","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200611-20.xml"},{"name":"20061112 Re: GNU gv Stack Overflow Vulnerability","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/451422/100/200/threaded"},{"name":"MDKSA-2006:214","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:214"},{"name":"23006","refsource":"SECUNIA","url":"http://secunia.com/advisories/23006"},{"name":"22787","refsource":"SECUNIA","url":"http://secunia.com/advisories/22787"},{"name":"https://issues.rpath.com/browse/RPL-850","refsource":"CONFIRM","url":"https://issues.rpath.com/browse/RPL-850"},{"name":"evince-postscript-bo(30555)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30555"},{"name":"23118","refsource":"SECUNIA","url":"http://secunia.com/advisories/23118"},{"name":"24649","refsource":"SECUNIA","url":"http://secunia.com/advisories/24649"},{"name":"SUSE-SR:2006:029","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2006_29_sr.html"},{"name":"20061128 evince buffer overflow exploit (gv)","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/452868/100/0/threaded"},{"name":"MDKSA-2006:229","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:229"},{"name":"USN-390-3","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-390-3"},{"name":"USN-390-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-390-1"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30153","name":"gnu-gv-buffer-overflow(30153)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.debian.org/security/2006/dsa-1214","name":"DSA-1214","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/23018","name":"23018","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2006/4424","name":"ADV-2006-4424","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/22932","name":"22932","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/2858","name":"2858","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/23353","name":"23353","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/23306","name":"23306","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/23266","name":"23266","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/23579","name":"23579","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/24787","name":"24787","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2006_26_sr.html","name":"SUSE-SR:2006:026","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2006_28_sr.html","name":"SUSE-SR:2006:028","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/23409","name":"23409","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200704-06.xml","name":"GLSA-200704-06","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-24.xml","name":"GLSA-200703-24","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-390-2","name":"USN-390-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/23335","name":"23335","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2006/4747","name":"ADV-2006-4747","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/352825","name":"VU#352825","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/451057/100/0/threaded","name":"20061109 GNU gv Stack Overflow Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/23111","name":"23111","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/23183","name":"23183","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2006/dsa-1243","name":"DSA-1243","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/20978","name":"20978","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200611-20.xml","name":"GLSA-200611-20","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/451422/100/200/threaded","name":"20061112 Re: GNU gv Stack Overflow Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:214","name":"MDKSA-2006:214","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/23006","name":"23006","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/22787","name":"22787","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-850","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30555","name":"evince-postscript-bo(30555)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/23118","name":"23118","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/24649","name":"24649","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2006_29_sr.html","name":"SUSE-SR:2006:029","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/452868/100/0/threaded","name":"20061128 evince buffer overflow exploit (gv)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:229","name":"MDKSA-2006:229","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-390-3","name":"USN-390-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-390-1","name":"USN-390-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T20:04:55.621Z"}}]}}}