{"id":"CVE-2021-0476","aliases":["A-169252501","ASB-A-169252501","EUVD-2021-3095","GHSA-cc2v-chg5-845p"],"status":"published","title":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition....","description":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-9 Android-10Android ID: A-169252501","severity":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00183,"percentile":0.07953,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-362","CWE-416"],"published":"2021-05-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"nanopathi/system_bt_AOSP10_r33_CVE-2021-0476","title":"nanopathi/system_bt_AOSP10_r33_CVE-2021-0476","date":"2022-04-04","url":"https://github.com/nanopathi/system_bt_AOSP10_r33_CVE-2021-0476"}],"fixes":[{"ecosystem":"Android","package":"platform/system/bt","fixed_in":["9:2021-05-01","10:2021-05-01","11:2021-05-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-05-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-05-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-05-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-05-01","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0476"},{"url":"https://github.com/advisories/GHSA-cc2v-chg5-845p"},{"url":"https://android.googlesource.com/platform/system/bt/+/a2b86770143b3e6ec07a6f26edbdc2f8280f0463","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0476","description":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-9 Android-10Android ID: A-169252501","status":"published","published":"2021-06-11T16:42:55Z","modified":"2024-08-03T15:40:01.333Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-3095","description":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-9 Android-10Android ID: A-169252501","status":"published","published":"2021-06-11T16:42:55Z","modified":"2024-08-03T15:40:01Z","updated_at":"2026-11-03T03:25:16.987587Z"}],"ghsa":[{"id":"GHSA-cc2v-chg5-845p","title":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition....","description":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-9 Android-10Android ID: A-169252501","status":"published","published":"2022-05-24T19:05:01Z","modified":"2023-01-27T05:02:49Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:42:06.943612Z"}],"nvd":[{"id":"CVE-2021-0476","description":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-9 Android-10Android ID: A-169252501","status":"published","published":"2021-06-11T17:15:09.747Z","modified":"2026-06-17T03:30:10.54Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"ASB-A-169252501","description":"In FindOrCreatePeer of btif_av.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-05-01T00:00:00Z","modified":"2026-11-10T17:02:23.040266809Z","updated_at":"2026-11-09T17:04:22.742827Z"}]}}
