{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2022-38181 in the wild since at least 30 Mar 2023.","fix":"Apply the vendor's patch. US federal agencies must fix it by 20 Apr 2023.","what":"CVE-2022-38181 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 25 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-38181 and fix it if it is affected.\n\nWhat it is: CVE-2022-38181 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 25 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-38181 in the wild since at least 30 Mar 2023.\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-2022-38181/ (Markdown: https://insights.sbomify.com/CVE-2022-38181/index.md)","id":"CVE-2022-38181","markdown":"https://insights.sbomify.com/CVE-2022-38181/index.md","name":"CVE-2022-38181","record":{"aliases":["A-259695958","ASB-A-259695958","GHSA-h73c-qgg5-q5rp"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Android GPU driver","requires_auth":"low_privilege","summary":"Unprivileged users can access freed memory in the Arm Mali GPU kernel driver, potentially leading to information disclosure or privilege escalation on Android devices.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bifrost_gpu_kernel_driver","vendor":"arm"},{"product":"midgard_gpu_kernel_driver","vendor":"arm"},{"product":"valhall_gpu_kernel_driver","vendor":"arm"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"The Arm Mali GPU kernel driver allows unprivileged users to access freed memory because GPU memory operations are mishandled. This affects Bifrost r0p0 through r38p1, and r39p0; Valhall r19p0 through r38p1, and r39p0; and Midgard r4p0 through r32p0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-04-13","github_poc":7,"max_poc_stars":11,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-04-13T13:19:04Z","kind":"github_poc","ref":"https://github.com/Pro-me3us/CVE_2022_38181_Raven","stars":11,"title":"CVE-2022-38181 POC for FireTV 2nd gen Cube (raven)"},{"date":"2026-08-20T08:02:17Z","kind":"github_poc","ref":"https://github.com/ericpardee/fire-hd-ownership","stars":6,"title":"Owning a tablet Amazon kept shutting down — CVE-2022-38181 write-up, four AI models, and a blog"},{"date":"2023-04-13T13:25:09Z","kind":"github_poc","ref":"https://github.com/Pro-me3us/CVE_2022_38181_Gazelle","stars":5,"title":"CVE-2022-38181 POC for FireTV 3rd gen Cube (gazelle)"},{"date":"2023-05-12T13:50:54Z","kind":"github_poc","ref":"https://github.com/R0rt1z2/CVE-2022-38181","stars":3,"title":null},{"date":"2026-10-29T01:01:26Z","kind":"github_poc","ref":"https://github.com/s1204IT/CVE-2022-38181","stars":3,"title":null},{"date":"2026-07-25T01:01:38Z","kind":"github_poc","ref":"https://github.com/soralis0912/CVE-2022-38181-aristotle","stars":0,"title":null},{"date":"2026-09-11T21:04:59Z","kind":"github_poc","ref":"https://github.com/artur9010/amazon-mustang-hack","stars":0,"title":"FireOS 7.3.3.1 temp root by CVE-2022-38181"}],"tier":"exploited"},"has_fix":true,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2022-38181","indexable":true,"kev":{"dateAdded":"2023-03-30","dueDate":"2023-04-20","knownRansomwareCampaignUse":"Unknown","product":"Mali Graphics Processing Unit (GPU)","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Arm","vulnerabilityName":"Arm Mali GPU Kernel Driver Use-After-Free Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"arm:valhall_gpu_kernel_driver","products":["arm:valhall_gpu_kernel_driver"],"type":"use_after_free","year":"2022"},"n_packages":0,"n_references":5,"next":{"headline":"Gitea allowed assignment of private issues","id":"CVE-2022-38183"},"packages":[],"prev":{"headline":"JetBrain Ktor before 2.1.0 vulnerable to selection of wrong authentication provider","id":"CVE-2022-38180"},"products":["n/a"],"published":"2022-10-25","related":[{"cvss_score":8.8,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2021-29256","kev_date_added":"2023-07-07","published":"2021-05-24"},{"cvss_score":8.8,"headline":"Arm Mali Graphics Processing Unit (GPU) Use-After-Free","id":"CVE-2021-28663","kev_date_added":"2021-11-03","published":"2021-05-10"},{"cvss_score":8.8,"headline":"Arm Mali Graphics Processing Unit (GPU) Unspecified","id":"CVE-2021-28664","kev_date_added":"2021-11-03","published":"2021-05-10"},{"cvss_score":7.8,"headline":"Arm Mali GPU Kernel Driver Unspecified","id":"CVE-2022-22706","kev_date_added":"2023-03-30","published":"2022-03-03"},{"cvss_score":7.4,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2024-4610","kev_date_added":"2024-06-12","published":"2024-06-07"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2022-28348","kev_date_added":null,"published":"2022-05-19"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Unprivileged users can access freed memory in the Arm Mali GPU kernel driver, potentially leading to information disclosure or privilege escalation on Android devices.","url":"https://insights.sbomify.com/CVE-2022-38181/"}