Vulnerabilities · 2006 · Gnu
CVE-2006-5864
Gnu Gv vulnerability
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
Gv. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Gv runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/22787 · Vendor Advisory
- secunia.com/advisories/22932 · Vendor Advisory
- secunia.com/advisories/23006 · Vendor Advisory
- secunia.com/advisories/23018 · Vendor Advisory
- secunia.com/advisories/23111 · Vendor Advisory
- secunia.com/advisories/23118 · Vendor Advisory
- secunia.com/advisories/23183 · Vendor Advisory
- secunia.com/advisories/23266 · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2006-5864
- cve.org/CVERecord?id=CVE-2006-5864
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.