{"id":"CVE-2021-0507","aliases":["A-181860042","ASB-A-181860042","EUVD-2021-3126","GHSA-g327-hh94-x2r8"],"status":"published","title":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing...","description":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-181860042","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01008,"percentile":0.63346,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-787"],"published":"2021-06-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"nanopathi/system_bt_AOSP10_r33_CVE-2021-0507","title":"nanopathi/system_bt_AOSP10_r33_CVE-2021-0507","date":"2022-04-10","url":"https://github.com/nanopathi/system_bt_AOSP10_r33_CVE-2021-0507"}],"fixes":[{"ecosystem":"Android","package":"platform/system/bt","fixed_in":["8.1:2021-06-01","9:2021-06-01","10:2021-06-01","11:2021-06-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-06-01"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-06-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-06-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/system/bt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-06-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-06-01","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0507"},{"url":"https://github.com/advisories/GHSA-g327-hh94-x2r8"},{"url":"https://android.googlesource.com/platform/system/bt/+/4deeb022c7efe39e9ce34d9373ba900d9ed2741f","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0507","description":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-181860042","status":"published","published":"2021-06-21T16:01:39Z","modified":"2024-08-03T15:40:01.19Z","updated_at":"2026-11-02T14:33:10.555814Z"}],"euvd":[{"id":"EUVD-2021-3126","description":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-181860042","status":"published","published":"2021-06-21T16:01:39Z","modified":"2024-08-03T15:40:01Z","updated_at":"2026-11-03T03:25:16.987587Z"}],"ghsa":[{"id":"GHSA-g327-hh94-x2r8","title":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing...","description":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-181860042","status":"published","published":"2022-05-24T19:05:44Z","modified":"2023-01-29T05:06:35Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:03.953317Z"}],"nvd":[{"id":"CVE-2021-0507","description":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-181860042","status":"published","published":"2021-06-21T17:15:08.277Z","modified":"2026-06-17T03:30:13.177Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":8.3,"vector":"AV:A/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:54.892562Z"}],"osv":[{"id":"ASB-A-181860042","description":"In handle_rc_metamsg_cmd of btif_rc.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-06-01T00:00:00Z","modified":"2026-11-10T17:02:23.040266809Z","updated_at":"2026-11-10T17:35:04.393608Z"}]}}
