{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2021-25487 in the wild since at least 29 Jun 2023.","fix":"No fix has been published for CVE-2021-25487 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 20 Jul 2023.","what":"CVE-2021-25487 is a high-severity memory corruption vulnerability in Samsung Android, published on 6 Oct 2021. 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-2021-25487 and fix it if it is affected.\n\nWhat it is: CVE-2021-25487 is a high-severity memory corruption vulnerability in Samsung Android, published on 6 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-25487 in the wild since at least 29 Jun 2023.\n\nAffected product: Samsung Android. 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-2021-25487/ (Markdown: https://insights.sbomify.com/CVE-2021-25487/index.md)","id":"CVE-2021-25487","markdown":"https://insights.sbomify.com/CVE-2021-25487/index.md","name":"CVE-2021-25487","record":{"aliases":["GHSA-4fpw-j345-q48r"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Samsung mobile devices","requires_auth":"low_privilege","summary":"A buffer overflow in the modem driver allows attackers to execute arbitrary code on Samsung mobile devices via an out-of-bounds read.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Samsung Mobile","cpe":[{"product":"android","vendor":"samsung"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Lack of boundary checking of a buffer in set_skb_priv() of modem interface driver prior to SMR Oct-2021 Release 1 allows OOB read and it results in arbitrary code execution by dereference of invalid function pointer.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Samsung Mobile Devices Out-of-Bounds Read","id":"CVE-2021-25487","indexable":true,"kev":{"dateAdded":"2023-06-29","dueDate":"2023-07-20","knownRansomwareCampaignUse":"Unknown","product":"Mobile Devices","requiredAction":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable","vendorProject":"Samsung","vulnerabilityName":"Samsung Mobile Devices Out-of-Bounds Read Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"samsung:android","products":["samsung:android"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in Samsung Mobile Devices","id":"CVE-2021-25488"},"packages":[],"prev":{"headline":"Information disclosure in Samsung Mobile Devices","id":"CVE-2021-25486"},"products":["Samsung Mobile Devices"],"published":"2021-10-06","related":[{"cvss_score":8.8,"headline":"Samsung Mobile Devices Out-of-Bounds Write","id":"CVE-2025-21042","kev_date_added":"2025-11-10","published":"2025-09-12"},{"cvss_score":8.8,"headline":"Samsung Mobile Devices Out-of-Bounds Write","id":"CVE-2025-21043","kev_date_added":"2025-10-02","published":"2025-09-12"},{"cvss_score":6.4,"headline":"Samsung Mobile Devices Race Condition","id":"CVE-2021-25394","kev_date_added":"2023-06-29","published":"2021-06-11"},{"cvss_score":6.4,"headline":"Samsung Mobile Devices Race Condition","id":"CVE-2021-25395","kev_date_added":"2023-06-29","published":"2021-06-11"},{"cvss_score":6.2,"headline":"Samsung Mobile Devices Improper Access Control","id":"CVE-2021-25369","kev_date_added":"2022-11-08","published":"2021-03-26"},{"cvss_score":6.1,"headline":"Samsung Mobile Devices Memory Corruption","id":"CVE-2021-25370","kev_date_added":"2022-11-08","published":"2021-03-26"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Samsung Mobile"]},"summary":"A buffer overflow in the modem driver allows attackers to execute arbitrary code on Samsung mobile devices via an out-of-bounds read.","url":"https://insights.sbomify.com/CVE-2021-25487/"}