{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-5643 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-5643 is a high-severity memory corruption vulnerability in Arm Valhall Gpu Kernel Driver, published on 5 Feb 2024. 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-5643 and fix it if it is affected.\n\nWhat it is: CVE-2023-5643 is a high-severity memory corruption vulnerability in Arm Valhall Gpu Kernel Driver, published on 5 Feb 2024. 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-5643 in the wild and no public exploit code.\n\nAffected product: Arm Valhall Gpu Kernel Driver. 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-5643/ (Markdown: https://insights.sbomify.com/CVE-2023-5643/index.md)","id":"CVE-2023-5643","markdown":"https://insights.sbomify.com/CVE-2023-5643/index.md","name":"CVE-2023-5643","record":{"aliases":["A-308188986","ASB-A-308188986","GHSA-3pwh-6jh8-p592"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Mali GPU Kernel Driver","requires_auth":"low_privilege","summary":"A local attacker can exploit an out-of-bounds write in the Mali GPU kernel driver to corrupt memory, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Arm","cpe":[{"product":"5th_gen_gpu_architecture_kernel_driver","vendor":"arm"},{"product":"bifrost_gpu_kernel_driver","vendor":"arm"},{"product":"valhall_gpu_kernel_driver","vendor":"arm"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Out-of-bounds Write vulnerability in Arm Ltd Bifrost GPU Kernel Driver, Arm Ltd Valhall GPU Kernel Driver, Arm Ltd Arm 5th Gen GPU Architecture Kernel Driver allows a local non-privileged user to make improper GPU memory processing operations. Depending on the configuration of the Mali GPU Kernel Driver, and if the system’s memory is carefully prepared by the user, then this in turn could write to memory outside of buffer bounds.This issue affects Bifrost GPU Kernel Driver: from r41p0 through r45p0; Valhall GPU Kernel Driver: from r41p0 through r45p0; Arm 5th Gen GPU Architecture Kernel Driver: from r41p0 through r45p0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2023-5643","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"arm:valhall_gpu_kernel_driver","products":["arm:valhall_gpu_kernel_driver"],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"WP Mail Log \u003c 1.1.3 – Incorrect Authorization in REST API Endpoints","id":"CVE-2023-5644"},"packages":[],"prev":{"headline":"Advantech R-SeeNet Unauthenticated Read/Write","id":"CVE-2023-5642"},"products":["Arm 5th Gen GPU Architecture Kernel Driver","Bifrost GPU Kernel Driver","Valhall GPU Kernel Driver"],"published":"2024-02-05","related":[{"cvss_score":5.5,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2023-4211","kev_date_added":"2023-10-03","published":"2023-10-01"},{"cvss_score":3.3,"headline":"Arm Mali GPU Kernel Driver Information Disclosure","id":"CVE-2023-26083","kev_date_added":"2023-04-07","published":"2023-04-06"},{"cvss_score":8.4,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2023-6143","kev_date_added":null,"published":"2024-03-04"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2025-0073","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows access to already freed memory","id":"CVE-2025-0819","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2025-0072","kev_date_added":null,"published":"2025-05-02"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows access to already freed memory","id":"CVE-2025-0427","kev_date_added":null,"published":"2025-05-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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-15","vendors":["Arm Ltd"]},"summary":"A local attacker can exploit an out-of-bounds write in the Mali GPU kernel driver to corrupt memory, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2023-5643/"}