{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-42074 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-42074 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-42074 is a high-severity memory corruption vulnerability in Pdf-Xchange Pdf-Tools, published on 3 May 2024. 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-2023-42074 and fix it if it is affected.\n\nWhat it is: CVE-2023-42074 is a high-severity memory corruption vulnerability in Pdf-Xchange Pdf-Tools, published on 3 May 2024. 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: There is no known exploitation of CVE-2023-42074 in the wild and no public exploit code.\n\nAffected product: Pdf-Xchange Pdf-Tools. 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-2023-42074/ (Markdown: https://insights.sbomify.com/CVE-2023-42074/index.md)","id":"CVE-2023-42074","markdown":"https://insights.sbomify.com/CVE-2023-42074/index.md","name":"CVE-2023-42074","record":{"aliases":["GHSA-fx24-3wfx-rxhc"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PDF-XChange Editor","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via type confusion in the addScript method when users open malicious files or visit malicious pages.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"pdf-tools","vendor":"pdf-xchange"},{"product":"pdf-xchange_editor","vendor":"pdf-xchange"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"description":"PDF-XChange Editor addScript Type Confusion Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the implementation of the addScript method. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-21338.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"PDF-XChange Editor addScript Type Confusion Remote Code Execution Vulnerability","id":"CVE-2023-42074","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"pdf-xchange:pdf-tools","products":["pdf-xchange:pdf-tools","pdf-xchange:pdf-xchange_editor"],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"PDF-XChange Editor JPG File Parsing Use-After-Free Remote Code Execution Vulnerability","id":"CVE-2023-42075"},"packages":[],"prev":{"headline":"PDF-XChange Editor Doc Object Out-Of-Bounds Read Information Disclosure Vulnerability","id":"CVE-2023-42073"},"products":["PDF-XChange Editor"],"published":"2024-05-03","related":[{"cvss_score":7.8,"headline":"PDF-XChange Editor U3D File Parsing Use-After-Free Remote Code Execution Vulnerability","id":"CVE-2025-6640","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":7.8,"headline":"PDF-XChange Editor U3D File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability","id":"CVE-2025-6642","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":7.8,"headline":"PDF-XChange Editor U3D File Parsing Use-After-Free Remote Code Execution Vulnerability","id":"CVE-2025-6644","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":7.8,"headline":"PDF-XChange Editor U3D File Parsing Use-After-Free Remote Code Execution Vulnerability","id":"CVE-2025-6645","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":7.8,"headline":"PDF-XChange Editor U3D File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2025-6647","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":7.8,"headline":"PDF-XChange Editor JP2 File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2025-6651","kev_date_added":null,"published":"2025-06-25"},{"cvss_score":7.8,"headline":"PDF-XChange Editor PRC File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2025-6654","kev_date_added":null,"published":"2025-06-25"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["PDF-XChange"]},"summary":"Remote attackers can execute arbitrary code via type confusion in the addScript method when users open malicious files or visit malicious pages.","url":"https://insights.sbomify.com/CVE-2023-42074/"}