CVE-2006-5864 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...
MediumCVSS 5.1
EPSS 16.1%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GNU gv | = 3.5.8 | No fix listed |
| GNU gv | = 3.6.0 | No fix listed |
| GNU gv | = 3.6.1 | No fix listed |
| GNU gv | = 3.6.2 | No fix listed |
| debian/evince(Debian:12) | < 0.4.0-3 | 0.4.0-3 |
| debian/evince(Debian:13) | < 0.4.0-3 | 0.4.0-3 |
| debian/gv(Debian:12) | < 1:3.6.2-3 | 1:3.6.2-3 |
| debian/gv(Debian:13) | < 1:3.6.2-3 | 1:3.6.2-3 |
| debian/gv(Debian:14) | < 1:3.6.2-3 | 1:3.6.2-3 |
References
- Debian Security Tracker CVE-2006-5864 vendor-advisory
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking
- 22787 third-party-advisory vendor-advisory
- 22932 third-party-advisory vendor-advisory
- 23006 third-party-advisory vendor-advisory
- 23018 third-party-advisory vendor-advisory
- 23111 third-party-advisory vendor-advisory
- 23118 third-party-advisory vendor-advisory
- 23183 third-party-advisory vendor-advisory
- 23266 third-party-advisory vendor-advisory
- 23306 third-party-advisory vendor-advisory
- 23335 third-party-advisory vendor-advisory
- 23353 third-party-advisory vendor-advisory
- 23409 third-party-advisory vendor-advisory
- 23579 third-party-advisory vendor-advisory
- 24649 third-party-advisory vendor-advisory
- 24787 third-party-advisory vendor-advisory
- GLSA-200611-20 vendor-advisory
- GLSA-200703-24 vendor-advisory
- GLSA-200704-06 vendor-advisory
- DSA-1214 vendor-advisory
- DSA-1243 vendor-advisory
- VU#352825 third-party-advisory us-government-resource
- MDKSA-2006:214 vendor-advisory
- MDKSA-2006:229 vendor-advisory
- SUSE-SR:2006:026 vendor-advisory
- SUSE-SR:2006:028 vendor-advisory
- SUSE-SR:2006:029 vendor-advisory
- 20061109 GNU gv Stack Overflow Vulnerability mailing-list
- 20061112 Re: GNU gv Stack Overflow Vulnerability mailing-list
- 20061128 evince buffer overflow exploit (gv) mailing-list
- 20978 exploit vdb-entry
- USN-390-1 vendor-advisory
- USN-390-2 vendor-advisory
- USN-390-3 vendor-advisory
- ADV-2006-4424 vdb-entry vendor-advisory
- ADV-2006-4747 vdb-entry vendor-advisory
- gnu-gv-buffer-overflow(30153) vdb-entry
- evince-postscript-bo(30555) vdb-entry
- issues.rpath.com
- 2858 exploit