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

Timeline

  1. 2006-11-11Published by the CNA01:00 UTC
  2. 2006-11-28First Exploit-DB entry (EDB-ID 2858)17 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 2858remotelinux2006-11-28yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gnu gv3.5.8no fix listed3.6.0no fix listed3.6.1no fix listed3.6.2no fix listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

39 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources