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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
16.116%
chance of exploitation in the next 30 days
higher than 97% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2006-11-11Published by the CNA01:00 UTC
- 2006-11-28First Exploit-DB entry (EDB-ID 2858)17 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 2858 | remote | linux | 2006-11-28 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gnu gv | 3.5.8no fix listed3.6.0no fix listed3.6.1no fix listed3.6.2no fix listed | not listednot listednot listednot listed |
References
- http://secunia.com/advisories/22787
- http://secunia.com/advisories/22932
- http://secunia.com/advisories/23006
- http://secunia.com/advisories/23018
- http://secunia.com/advisories/23111
- http://secunia.com/advisories/23118
- http://secunia.com/advisories/23183
- http://secunia.com/advisories/23266
- http://secunia.com/advisories/23306
- http://secunia.com/advisories/23335
- http://secunia.com/advisories/23353
- http://secunia.com/advisories/23409
- http://secunia.com/advisories/23579
- http://secunia.com/advisories/24649
- http://secunia.com/advisories/24787
- http://security.gentoo.org/glsa/glsa-200611-20.xml
- http://security.gentoo.org/glsa/glsa-200703-24.xml
- http://security.gentoo.org/glsa/glsa-200704-06.xml
- http://www.debian.org/security/2006/dsa-1214
- http://www.debian.org/security/2006/dsa-1243
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2006-5864'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2006-5864'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2006-5864'curl 'https://api.contrastcyber.com/cve_products/CVE-2006-5864'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).