{"id":"CVE-2021-0509","aliases":["A-176444161","ASB-A-176444161","EUVD-2021-3128","GHSA-c7q8-63qc-28xc"],"status":"published","title":"In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race...","description":"In various functions of CryptoPlugin.cpp, 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-9 Android-10 Android-11 Android-8.1Android ID: A-176444161","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.00168,"percentile":0.06077,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-362","CWE-416"],"published":"2021-06-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"Trinadh465/frameworks_av_AOSP10_r33_CVE-2021-0509","title":"Trinadh465/frameworks_av_AOSP10_r33_CVE-2021-0509","date":"2022-04-21","url":"https://github.com/Trinadh465/frameworks_av_AOSP10_r33_CVE-2021-0509"}],"fixes":[{"ecosystem":"Android","package":"platform/hardware/interfaces","fixed_in":["8.1:2021-06-01","9:2021-06-01","10:2021-06-01","11:2021-06-01"],"sources":["osv"]},{"ecosystem":"Android","package":"platform/frameworks/av","fixed_in":["9:2021-06-01","10:2021-06-01","11:2021-06-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/hardware/interfaces","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-06-01"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/av","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-06-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/hardware/interfaces","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-06-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/av","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-06-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/hardware/interfaces","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-06-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/av","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-06-01"}]}],"versions":["11"]},{"source":"osv","ecosystem":"Android","package":"platform/hardware/interfaces","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","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0509"},{"url":"https://github.com/advisories/GHSA-c7q8-63qc-28xc"},{"url":"https://android.googlesource.com/platform/frameworks/av/+/79a6ffbdaf14cfbb597efd8545ba401f1da28a4f","tags":["fix"]},{"url":"https://android.googlesource.com/platform/hardware/interfaces/+/a4e76aab230a565dd0cef11e2e6e2d782b685327","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0509","description":"In various functions of CryptoPlugin.cpp, 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-9 Android-10 Android-11 Android-8.1Android ID: A-176444161","status":"published","published":"2021-06-21T16:01:32Z","modified":"2024-08-03T15:40:01.122Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-3128","description":"In various functions of CryptoPlugin.cpp, 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-9 Android-10 Android-11 Android-8.1Android ID: A-176444161","status":"published","published":"2021-06-21T16:01:32Z","modified":"2024-08-03T15:40:01Z","updated_at":"2026-11-03T03:25:16.987587Z"}],"ghsa":[{"id":"GHSA-c7q8-63qc-28xc","title":"In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race...","description":"In various functions of CryptoPlugin.cpp, 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-9 Android-10 Android-11 Android-8.1Android ID: A-176444161","status":"published","published":"2022-05-24T19:05:44Z","modified":"2023-01-29T05:07:04Z","cwes":["CWE-362"],"updated_at":"2026-11-02T14:46:08.723565Z"}],"nvd":[{"id":"CVE-2021-0509","description":"In various functions of CryptoPlugin.cpp, 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-9 Android-10 Android-11 Android-8.1Android ID: A-176444161","status":"published","published":"2021-06-21T17:15:08.353Z","modified":"2026-06-17T03:30:13.38Z","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":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-362","CWE-416"],"updated_at":"2026-11-02T14:06:54.892562Z"}],"osv":[{"id":"ASB-A-176444161","description":"In various functions of CryptoPlugin.cpp, 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-06-01T00:00:00Z","modified":"2026-11-09T16:40:10.884737887Z","updated_at":"2026-11-09T17:04:22.742827Z"}]}}
