{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-58408 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-58408 is a medium-severity use after free vulnerability in Imagination Technologies Graphics DDK, published on 1 Dec 2025. 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-2025-58408 and fix it if it is affected.\n\nWhat it is: CVE-2025-58408 is a medium-severity use after free vulnerability in Imagination Technologies Graphics DDK, published on 1 Dec 2025. 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-2025-58408 in the wild and no public exploit code.\n\nAffected product: Imagination Technologies Graphics DDK. 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-2025-58408/ (Markdown: https://insights.sbomify.com/CVE-2025-58408/index.md)","id":"CVE-2025-58408","markdown":"https://insights.sbomify.com/CVE-2025-58408/index.md","name":"CVE-2025-58408","record":{"aliases":["A-429381685","ASB-A-429381685","GHSA-3cjf-7xfg-396f"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Android GPU driver","requires_auth":"none","summary":"A local attacker can exploit a use-after-free in the Android GPU driver to trigger kernel exceptions and potentially execute code or escalate privileges.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"imaginationtech","cpe":[{"product":"ddk","vendor":"imaginationtech"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"Software installed and run as a non-privileged user may conduct improper GPU system calls to trigger reads of stale data that can lead to kernel exceptions and write use-after-free.\n\nThe Use After Free common weakness enumeration was chosen as the stale data can include handles to resources in which the reference counts can become unbalanced. This can lead to the premature destruction of a resource while in use.","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":"GPU DDK - KASAN Read UAF in the PVRSRVBridgeRGXSubmitTransfer2 due to improper error handling code","id":"CVE-2025-58408","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in Graphics DDK","id":"CVE-2025-58409"},"packages":[],"prev":{"headline":"GPU DDK - TOCTOU bug affecting psFWMemContext-\u003euiPageCatBaseRegSet","id":"CVE-2025-58407"},"products":["Graphics DDK"],"published":"2025-12-01","related":[{"cvss_score":9.8,"headline":"GPU DDK - Integer overflow in _PMRLogicalOffsetToPhysicalOffset","id":"CVE-2026-16280","kev_date_added":null,"published":"2026-07-24"},{"cvss_score":9.8,"headline":"GPU DDK - libusc UAF via WebGPU shaders at MergeConsecutiveBarriersBP","id":"CVE-2025-13952","kev_date_added":null,"published":"2026-01-24"},{"cvss_score":9.6,"headline":"GPU DDK - libusc OOB write at ConvertSwitchToArrayLookupBP during WebGPU shader compilation","id":"CVE-2026-21732","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":9.1,"headline":"GPU DDK - GPU Register value contents leaked from secure workloads to non-secure world","id":"CVE-2025-25176","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.8,"headline":"GPU DDK - Reservation::psMappedPMR can change while used by a freelist -\u003e UAF","id":"CVE-2025-58411","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.2,"headline":"GPU DDK - rgxfw_hwperf_get_packet_buffer OOB write","id":"CVE-2025-0467","kev_date_added":null,"published":"2025-04-18"},{"cvss_score":8.1,"headline":"GPU DDK - UAF read of GLES3Context::psDrawParams and GLES3Context::psMode and UAF read/write of RMJob::apsCCBs","id":"CVE-2026-22165","kev_date_added":null,"published":"2026-05-01"}],"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":"partial"},"state":"PUBLISHED","updated":"2025-12-01","vendors":["Imagination Technologies"]},"summary":"A local attacker can exploit a use-after-free in the Android GPU driver to trigger kernel exceptions and potentially execute code or escalate privileges.","url":"https://insights.sbomify.com/CVE-2025-58408/"}