nday
CVE-2006-5864

Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv 3.6.2, and possibly…Title composed by nday; the CVE record has none.

A public PoC appeared 17 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in AV:N/AC:H/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:H/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 2858

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
disclosure → PoC
T+17d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2006-11-11T01:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2006-11-28, date only
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 94186,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2006-5864",
  "occurred_at": "2006-11-11T01:00:00Z",
  "observed_at": "2026-11-13T05:35:46.749541Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2006-11-11T01:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2006-11-28date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow” (EDB-2858). Verified by Exploit-DB.

src exploitdb 2858 · nday , bulk import · raw
{
  "id": 24808,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/2858",
  "occurred_at": "2006-11-28T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "2858",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/2858",
    "file": "exploits/linux/remote/2858.c",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow",
    "author": "K-sPecial",
    "edb_id": 2858,
    "cve_ids": [
      "CVE-2006-5864"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2006-11-27",
    "date_updated": "2011-04-27",
    "date_published": "2006-11-28"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.