{"id":"CVE-2006-5864","aliases":["DEBIAN-CVE-2006-5864","DSA-1214","DSA-1214-1","DSA-1214-2","DSA-1243-1","EUVD-2006-5848","GHSA-c7wv-85x6-hmhm","openSUSE-SU-2024:10742-1"],"status":"published","title":"Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly...","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.","severity":{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.16116,"percentile":0.96946,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2006-11-11T01:00:00Z","modified":"2026-10-22T23:47:24Z","exploits":[{"source":"exploitdb","id":"EDB-2858","title":"Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow","type":"remote","platform":"linux","date":"2006-11-28","verified":true,"url":"https://www.exploit-db.com/exploits/2858"}],"fixes":[{"ecosystem":"Debian:12","package":"evince","fixed_in":["0.4.0-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"evince","fixed_in":["0.4.0-3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"gv","fixed_in":["1:3.6.2-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gv","fixed_in":["1:3.6.2-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gv","fixed_in":["1:3.6.2-3"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"gv","fixed_in":["1:3.6.1-10sarge1","1:3.6.1-10sarge2"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"evince","fixed_in":["0.1.5-2sarge1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"evince","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"evince","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0-3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"gv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.6.2-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.6.2-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.6.2-3"}]}]},{"source":"osv","ecosystem":"Debian:3.1","package":"gv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.6.1-10sarge1"}]}],"versions":["1:3.6.1-10"]},{"source":"osv","ecosystem":"Debian:3.1","package":"gv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.6.1-10sarge2"}]}],"versions":["1:3.6.1-10","1:3.6.1-10sarge1"]},{"source":"osv","ecosystem":"Debian:3.1","package":"evince","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.5-2sarge1"}]}],"versions":["0.1.5-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"evince","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"40.4-1.3"}]}],"bundled":4}],"products":[{"vendor":"gnu","product":"gv"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30153","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.debian.org/security/2006/dsa-1214","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23018","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/4424","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/22932","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.exploit-db.com/exploits/2858","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"http://secunia.com/advisories/23353","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/23306","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/23266","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/23579","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/24787","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2006_26_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2006_28_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23409","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200704-06.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-24.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-390-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23335","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/4747","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.kb.cert.org/vuls/id/352825","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource","web"]},{"url":"http://www.securityfocus.com/archive/1/451057/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/23111","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/23183","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2006/dsa-1243","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/20978","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","evidence"]},{"url":"http://security.gentoo.org/glsa/glsa-200611-20.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/451422/100/200/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:214","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23006","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/22787","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://issues.rpath.com/browse/RPL-850","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/30555","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/23118","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/24649","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2006_29_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/452868/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:229","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-390-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-390-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-5864"},{"url":"https://github.com/advisories/GHSA-c7wv-85x6-hmhm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2006-5864","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2006-5864","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000083","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1010006","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-11459","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2006-5864","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.","status":"published","published":"2006-11-11T01:00:00Z","modified":"2024-08-07T20:04:55.621Z","updated_at":"2026-11-02T14:33:48.116532Z"}],"euvd":[{"id":"EUVD-2006-5848","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.","status":"published","published":"2006-11-11T01:00:00Z","modified":"2024-08-07T20:04:55Z","updated_at":"2026-11-03T01:15:46.154726Z"}],"ghsa":[{"id":"GHSA-c7wv-85x6-hmhm","title":"Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly...","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.","status":"published","published":"2022-05-01T07:32:33Z","modified":"2023-01-31T05:02:44Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:48:19.401331Z"}],"nvd":[{"id":"CVE-2006-5864","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.","status":"published","published":"2006-11-11T01:07:00Z","modified":"2026-06-16T22:32:01.72Z","cvss":[{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:08.546281Z"}],"osv":[{"id":"CVE-2006-5864","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.","status":"published","published":"2006-11-11T01:07:00Z","modified":"2026-04-10T03:38:35.492494Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2006-5864","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.","status":"published","published":"2006-11-11T01:07:00Z","modified":"2026-10-22T23:47:24.716681241Z","updated_at":"2026-11-02T15:45:23.105674Z"},{"id":"DSA-1214","title":"gv","status":"withdrawn","published":"2006-11-20T00:00:00Z","modified":"2025-05-26T07:15:12.820077Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1214-1","title":"gv","status":"published","published":"2006-11-20T00:00:00Z","modified":"2026-03-09T01:01:39.548321Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1214-2","title":"gv","status":"published","published":"2006-12-27T00:00:00Z","modified":"2026-03-09T01:01:32.074363Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1243-1","title":"evince","status":"published","published":"2006-12-28T00:00:00Z","modified":"2026-03-09T01:01:00.745527Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"openSUSE-SU-2024:10742-1","title":"evince-40.4-1.3 on GA media","description":"These are all security issues fixed in the evince-40.4-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:11:55.09225Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
