{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-0838 exists.","fix":"Apply the vendor's patch.","what":"CVE-2002-0838 is a medium-severity memory corruption vulnerability in n/a, published on 1 Oct 2002. 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-2002-0838 and fix it if it is affected.\n\nWhat it is: CVE-2002-0838 is a medium-severity memory corruption vulnerability in n/a, published on 1 Oct 2002. 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-2002-0838 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-2002-0838/ (Markdown: https://insights.sbomify.com/CVE-2002-0838/index.md)","id":"CVE-2002-0838","markdown":"https://insights.sbomify.com/CVE-2002-0838/index.md","name":"CVE-2002-0838","record":{"aliases":["DEBIAN-CVE-2002-0838","DSA-176","DSA-179","DSA-182","GHSA-8534-65wr-c3fm"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PostScript/PDF viewer","requires_auth":"none","summary":"Attackers can execute arbitrary code by tricking users into opening malformed PDF or PostScript files in vulnerable viewers.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ggv","vendor":"ggv"},{"product":"ghostview","vendor":"ghostview"},{"product":"gv","vendor":"gv"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Buffer overflow in (1) gv 3.5.8 and earlier, (2) gvv 1.0.2 and earlier, (3) ggv 1.99.90 and earlier, (4) gnome-gv, and (5) kghostview in kdegraphics 2.2.2 and earlier, allows attackers to execute arbitrary code via a malformed (a) PDF or (b) PostScript file, which is processed by an unsafe call to sscanf.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2002-09-26","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2002-09-26","kind":"exploitdb","ref":"21871","stars":null,"title":"GV 2.x/3.x - '.PDF'/'.PS' File Buffer Overflow (1)"},{"date":"2002-09-26","kind":"exploitdb","ref":"21872","stars":null,"title":"GV 2.x/3.x - '.PDF'/'.PS' File Buffer Overflow (2)"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2002-0838","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2002"},"n_packages":0,"n_references":18,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2002-0839"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2002-0837"},"products":["n/a"],"published":"2002-10-01","related":[],"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":"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-08","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code by tricking users into opening malformed PDF or PostScript files in vulnerable viewers.","url":"https://insights.sbomify.com/CVE-2002-0838/"}