{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-9958 exists.","fix":"No fix has been published for CVE-2018-9958 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-9958 is a high-severity use after free vulnerability in Foxitsoftware Foxit Reader, published on 17 May 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-9958 and fix it if it is affected.\n\nWhat it is: CVE-2018-9958 is a high-severity use after free vulnerability in Foxitsoftware Foxit Reader, published on 17 May 2018. An attacker can exploit it over the internet without logging in, 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-2018-9958 exists.\n\nAffected product: Foxitsoftware Foxit Reader. 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-2018-9958/ (Markdown: https://insights.sbomify.com/CVE-2018-9958/index.md)","id":"CVE-2018-9958","markdown":"https://insights.sbomify.com/CVE-2018-9958/index.md","name":"CVE-2018-9958","record":{"aliases":["GHSA-6v4r-gv8g-8w3c"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PDF reader","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via malicious PDF files due to improper object validation in Foxit Reader.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"foxit_reader","vendor":"foxitsoftware"},{"product":"phantompdf","vendor":"foxitsoftware"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of Text Annotations. When setting the point attribute, the process does not properly validate the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code under the context of the current process. Was ZDI-CAN-5620.","ecosystems":[],"exploits":{"exploitdb":5,"first_seen":"2018-04-20","github_poc":1,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-06-25T19:34:36Z","kind":"github_poc","ref":"https://github.com/t3rabyt3-zz/CVE-2018-9958--Exploit","stars":1,"title":"This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of Text Annotations. When setting the point attribute, the process does not properly validate the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code under the context of the current process."},{"date":"2018-04-20","kind":"metasploit","ref":"exploit/windows/fileformat/foxit_reader_uaf","stars":null,"title":"Foxit PDF Reader Pointer Overwrite UAF"},{"date":"2018-06-25","kind":"exploitdb","ref":"44941","stars":null,"title":"Foxit Reader 9.0.1.1049 - Remote Code Execution"},{"date":"2018-08-27","kind":"exploitdb","ref":"45269","stars":null,"title":"Foxit PDF Reader 9.0.1.1049 - Pointer Overwrite Use-After-Free (Metasploit)"},{"date":"2018-08-27","kind":"exploitdb","ref":"45269","stars":null,"title":"Foxit PDF Reader 9.0.1.1049 - Pointer Overwrite Use-After-Free (Metasploit)"},{"date":"2018-08-27","kind":"exploitdb","ref":"45269","stars":null,"title":"Foxit PDF Reader 9.0.1.1049 - Pointer Overwrite Use-After-Free (Metasploit)"},{"date":"2020-11-27","kind":"exploitdb","ref":"49116","stars":null,"title":"Foxit Reader 9.0.1.1049 - Arbitrary Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Use after free in Foxit Reader","id":"CVE-2018-9958","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"foxitsoftware:foxit_reader","products":["foxitsoftware:foxit_reader","foxitsoftware:phantompdf"],"type":"use_after_free","year":"2018"},"n_packages":0,"n_references":5,"next":{"headline":"Use after free in Foxit Reader","id":"CVE-2018-9959"},"packages":[],"prev":{"headline":"Use after free in Foxit Reader","id":"CVE-2018-9957"},"products":["Foxit Reader"],"published":"2018-05-17","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2021-33793","kev_date_added":null,"published":"2021-08-11"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2021-38568","kev_date_added":null,"published":"2021-08-11"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2021-38572","kev_date_added":null,"published":"2021-08-11"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2021-38573","kev_date_added":null,"published":"2021-08-11"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-38574","kev_date_added":null,"published":"2021-08-11"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-26534","kev_date_added":null,"published":"2020-10-02"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2020-26535","kev_date_added":null,"published":"2020-10-02"}],"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":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Foxit"]},"summary":"Remote attackers can execute arbitrary code via malicious PDF files due to improper object validation in Foxit Reader.","url":"https://insights.sbomify.com/CVE-2018-9958/"}