Skip to content
Fencer Vulns
medium 5.1

CVE-2006-5864 json

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 attack…

published 2006-11-11 19 y ago modified 2026-06-16 4 mo ago also EUVD-2006-5848

cvss
5.1
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
16.1%
EPSS 16.1% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • gv Debian 14, Debian 13, Debian 12 1:3.6.2-3
  • evince Debian 13, Debian 12 0.4.0-3

debian advisories DEBIAN-CVE-2006-5864

  • evince openSUSE Tumbleweed 40.4-1.3

opensuse advisories openSUSE-SU-2024:10742-1

Timeline

  1. Published
  2. First public exploit (EDB-2858)

Exploit prediction

16.12% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-2858 Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow remote, 2006-11-28
  • securityfocus.com http://www.securityfocus.com/bid/20978 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.