{"answers":{"affected":"It affects 6 products.","exploited":"There is no known exploitation of CVE-2023-21640 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-21640 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-21640 is a medium-severity memory corruption vulnerability in Qualcomm Fastconnect 6900 Firmware, published on 4 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-21640 and fix it if it is affected.\n\nWhat it is: CVE-2023-21640 is a medium-severity memory corruption vulnerability in Qualcomm Fastconnect 6900 Firmware, published on 4 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-21640 in the wild and no public exploit code.\n\nAffected product: Qualcomm Fastconnect 6900 Firmware. 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-21640/ (Markdown: https://insights.sbomify.com/CVE-2023-21640/index.md)","id":"CVE-2023-21640","markdown":"https://insights.sbomify.com/CVE-2023-21640/index.md","name":"CVE-2023-21640","record":{"aliases":["GHSA-f8q5-x346-4rf5"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Qualcomm Snapdragon firmware","requires_auth":"high_privilege","summary":"A buffer overflow in Qualcomm Snapdragon firmware allows attackers to execute arbitrary code or escalate privileges via large input parameters.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"qualcomm","cpe":[{"product":"fastconnect_6900_firmware","vendor":"qualcomm"},{"product":"fastconnect_7800_firmware","vendor":"qualcomm"},{"product":"snapdragon_8_gen_1_firmware","vendor":"qualcomm"},{"product":"wcd9380_firmware","vendor":"qualcomm"},{"product":"wsa8830_firmware","vendor":"qualcomm"},{"product":"wsa8835_firmware","vendor":"qualcomm"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"Memory corruption in Linux when the file upload API is called with parameters having large buffer.","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":"Buffer Copy Without Checking Size of Input in Linux","id":"CVE-2023-21640","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qualcomm:fastconnect_6900_firmware","products":["qualcomm:fastconnect_6900_firmware","qualcomm:fastconnect_7800_firmware","qualcomm:wcd9380_firmware","qualcomm:wsa8830_firmware","qualcomm:wsa8835_firmware"],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Permissions, Privileges, and Access Controls in Display","id":"CVE-2023-21641"},"packages":[],"prev":{"headline":"Buffer Copy Without Checking the Size of Input in Audio","id":"CVE-2023-21639"},"products":["Snapdragon"],"published":"2023-07-04","related":[{"cvss_score":8.4,"headline":"Use After Free in Graphics","id":"CVE-2024-38399","kev_date_added":null,"published":"2024-10-07"},{"cvss_score":8.4,"headline":"Use After Free in Kernel","id":"CVE-2024-21472","kev_date_added":null,"published":"2024-04-01"},{"cvss_score":7.8,"headline":"Untrusted Pointer Dereference in Camera","id":"CVE-2025-47405","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":7.8,"headline":"Use After Free in Secure Processor","id":"CVE-2025-47358","kev_date_added":null,"published":"2026-02-02"},{"cvss_score":7.8,"headline":"Use After Free in DSP Service","id":"CVE-2025-47350","kev_date_added":null,"published":"2025-12-18"},{"cvss_score":7.8,"headline":"Buffer Over-read in DSP Service","id":"CVE-2025-47368","kev_date_added":null,"published":"2025-11-04"},{"cvss_score":7.8,"headline":"Untrusted Pointer Dereference in Camera","id":"CVE-2025-27048","kev_date_added":null,"published":"2025-10-09"}],"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-11-26","vendors":["Qualcomm, Inc."]},"summary":"A buffer overflow in Qualcomm Snapdragon firmware allows attackers to execute arbitrary code or escalate privileges via large input parameters.","url":"https://insights.sbomify.com/CVE-2023-21640/"}