SecurityContext

CVE-2006-5864: GNU gv - Buffer Overflow

  • Cve: CVE-2006-5864
  • Name: GNU gv - Buffer Overflow
  • 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.
  • Impact: Attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of GNU gv or apply security patches that fix the buffer overflow vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs the victim to open a malicious PostScript file
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.1
  • Cvss vector: CVSS:2.0/AV:N/AC:H/Au:N/C:P/I:P/A:P
  • Epss score: 0.16116
  • Epss percentile: 0.97004
  • Assignee: [email protected]
  • Published at: 2006-11-11T01:07:00Z
  • Age in days: 7318
  • Modified at: 2026-06-16T22:32:01Z
  • Public exploits total: 1
  • References total: 39
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2006-5864
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

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

Public exploits

UrlSourceAdded date
http://www.securityfocus.com/bid/20978nvd2006-11-11

References

Same in every row:

  • Source: nvd
  • Tags: Vendor Advisory
Url
http://secunia.com/advisories/22787
http://secunia.com/advisories/22932
http://secunia.com/advisories/23006
http://secunia.com/advisories/23018
http://secunia.com/advisories/23111
http://secunia.com/advisories/23118
http://secunia.com/advisories/23183
http://secunia.com/advisories/23266
http://secunia.com/advisories/23306
http://secunia.com/advisories/23335

Products

ProductAffectedPlatform boundSourcesUrl
gnu:gv= 3.6.2, = 3.6.1, = 3.6.0, = 3.5.8nonvd/v1/products/gnu/gv

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2006-11-11
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts