CVE-2006-5864
Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly...
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.
Exploit likelihood
What each source reports
NVD Score used
5.1
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.
- Record
CVE-2006-5864- CVSS 2.0
- 5.1 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2006-5864- Updated
- 2026-11-02
EUVDEUVD-2006-5848 No score
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.
- Record
EUVD-2006-5848- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c7wv-85x6-hmhm No score
Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly...
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.
- Record
GHSA-c7wv-85x6-hmhm- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2006-5864- Updated
- 2026-11-02
OSVDEBIAN-CVE-2006-5864 No score
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.
- Record
DEBIAN-CVE-2006-5864- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10742-1 No score
evince-40.4-1.3 on GA media
These are all security issues fixed in the evince-40.4-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10742-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
evinceDebian:12 |
before 0.4.0-3 | 0.4.0-3 |
evinceDebian:13 |
before 0.4.0-3 | 0.4.0-3 |
gvDebian:12 |
before 1:3.6.2-3 | 1:3.6.2-3 |
gvDebian:13 |
before 1:3.6.2-3 | 1:3.6.2-3 |
gvDebian:14 |
before 1:3.6.2-3 | 1:3.6.2-3 |
gvDebian:3.1 |
before 1:3.6.1-10sarge1, plus listed versions 1:3.6.1-10 |
1:3.6.1-10sarge1 |
gvDebian:3.1 |
before 1:3.6.1-10sarge2, plus listed versions 1:3.6.1-101:3.6.1-10sarge1 |
1:3.6.1-10sarge2 |
evinceDebian:3.1 |
before 0.1.5-2sarge1, plus listed versions 0.1.5-2 |
0.1.5-2sarge1 |
evinceopenSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 40.4-1.3 | 40.4-1.3 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow | 2006-11-28 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2006-5864 is a medium vulnerability (CVSS 5.1) in Gnu Gv, published November 11, 2006. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 16.1%, the 96th percentile. Fixed in evince 0.4.0-3.
References
exchange.xforce.ibmcloud.com/vulnerabilities/30153
debian.org/security/2006/dsa-1214
secunia.com/advisories/23018
vupen.com/english/advisories/2006/4424
secunia.com/advisories/22932
exploit-db.com/exploits/2858
Show 40 moreShow less
secunia.com/advisories/23353
secunia.com/advisories/23306
secunia.com/advisories/23266
secunia.com/advisories/23579
secunia.com/advisories/24787
novell.com/linux/security/advisories/2006_26_sr.html
novell.com/linux/security/advisories/2006_28_sr.html
secunia.com/advisories/23409
security.gentoo.org/glsa/glsa-200704-06.xml
security.gentoo.org/glsa/glsa-200703-24.xml
ubuntu.com/usn/usn-390-2
secunia.com/advisories/23335
vupen.com/english/advisories/2006/4747
kb.cert.org/vuls/id/352825
securityfocus.com/archive/1/451057/100/0/threaded
secunia.com/advisories/23111
secunia.com/advisories/23183
debian.org/security/2006/dsa-1243
securityfocus.com/bid/20978
security.gentoo.org/glsa/glsa-200611-20.xml
securityfocus.com/archive/1/451422/100/200/threaded
mandriva.com/security/advisories?name=MDKSA-2006:214
secunia.com/advisories/23006
secunia.com/advisories/22787
issues.rpath.com/browse/RPL-850
exchange.xforce.ibmcloud.com/vulnerabilities/30555
secunia.com/advisories/23118
secunia.com/advisories/24649
novell.com/linux/security/advisories/2006_29_sr.html
securityfocus.com/archive/1/452868/100/0/threaded
mandriva.com/security/advisories?name=MDKSA-2006:229
ubuntu.com/usn/usn-390-3
ubuntu.com/usn/usn-390-1
nvd.nist.gov/vuln/detail/CVE-2006-5864
github.com/advisories/GHSA-c7wv-85x6-hmhm
security-tracker.debian.org/tracker/CVE-2006-5864
suse.com/security/cve/CVE-2006-5864
suse.com/security/cve/CVE-2017-1000083
suse.com/security/cve/CVE-2019-1010006
suse.com/security/cve/CVE-2019-11459