{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-5864 exists.","fix":"Apply the vendor's patch.","what":"CVE-2006-5864 is a medium-severity memory corruption vulnerability in n/a, published on 11 Nov 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2006-5864 and fix it if it is affected.\n\nWhat it is: CVE-2006-5864 is a medium-severity memory corruption vulnerability in n/a, published on 11 Nov 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-5864 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2006-5864/ (Markdown: https://insights.sbomify.com/CVE-2006-5864/index.md)","id":"CVE-2006-5864","markdown":"https://insights.sbomify.com/CVE-2006-5864/index.md","name":"CVE-2006-5864","record":{"aliases":["DEBIAN-CVE-2006-5864","DSA-1214-1","DSA-1214-2","DSA-1243-1","GHSA-c7wv-85x6-hmhm"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PostScript viewer","requires_auth":"none","summary":"A stack-based buffer overflow in GNU gv allows attackers to execute arbitrary code via a malicious PostScript file, requiring user interaction to open the file.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gv","vendor":"gnu"}],"cvss":{"score":5.1,"severity":"medium","source":"nvd","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2006-11-28","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2006-11-28","kind":"exploitdb","ref":"2858","stars":null,"title":"Evince Document Viewer - 'DocumentMedia' Remote Buffer Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2006-5864","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2006"},"n_packages":0,"n_references":39,"next":{"headline":"Code injection in n/a","id":"CVE-2006-5865"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2006-5863"},"products":["n/a"],"published":"2006-11-11","related":[{"cvss_score":3.3,"headline":"Path traversal in n/a","id":"CVE-2010-2056","kev_date_added":null,"published":"2010-07-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"A stack-based buffer overflow in GNU gv allows attackers to execute arbitrary code via a malicious PostScript file, requiring user interaction to open the file.","url":"https://insights.sbomify.com/CVE-2006-5864/"}