{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2023-32804 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-32804 is a high-severity memory corruption vulnerability in Arm Valhall Gpu Kernel Driver, published on 4 Dec 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-32804 and fix it if it is affected.\n\nWhat it is: CVE-2023-32804 is a high-severity memory corruption vulnerability in Arm Valhall Gpu Kernel Driver, published on 4 Dec 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-32804 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-32804/ (Markdown: https://insights.sbomify.com/CVE-2023-32804/index.md)","id":"CVE-2023-32804","markdown":"https://insights.sbomify.com/CVE-2023-32804/index.md","name":"CVE-2023-32804","record":{"aliases":["A-272772567","ASB-A-272772567","GHSA-jhf5-g2pq-ppg2"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Android GPU driver","requires_auth":"low_privilege","summary":"A local attacker can exploit an out-of-bounds write in the Mali GPU driver to corrupt memory, potentially leading to privilege escalation or code execution on Android devices.","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":"midgard_gpu_kernel_driver","vendor":"arm"},{"product":"valhall_gpu_kernel_driver","vendor":"arm"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","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 Midgard GPU Userspace Driver, Arm Ltd Bifrost GPU Userspace Driver, Arm Ltd Valhall GPU Userspace Driver, Arm Ltd Arm 5th Gen GPU Architecture Userspace Driver allows a local non-privileged user to write a constant pattern to a limited amount of memory not allocated by the user space driver.This issue affects Midgard GPU Userspace Driver: from r0p0 through r32p0; Bifrost GPU Userspace Driver: from r0p0 through r44p0; Valhall GPU Userspace Driver: from r19p0 through r44p0; Arm 5th Gen GPU Architecture Userspace Driver: from r41p0 through r44p0.","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 Userspace Driver can make an Out-of-Bounds access","id":"CVE-2023-32804","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":"Memory corruption in MT8168, MT8675","id":"CVE-2023-32805"},"packages":[],"prev":{"headline":"Misconfiguration in ca-certificates","id":"CVE-2023-32803"},"products":["Arm 5th Gen GPU Architecture Userspace Driver","Bifrost GPU Userspace Driver","Midgard GPU Userspace Driver","Valhall GPU Userspace Driver"],"published":"2023-12-04","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":"2024-08-28","vendors":["Arm Ltd"]},"summary":"A local attacker can exploit an out-of-bounds write in the Mali GPU driver to corrupt memory, potentially leading to privilege escalation or code execution on Android devices.","url":"https://insights.sbomify.com/CVE-2023-32804/"}