{"id":"CVE-2021-0640","aliases":["A-187957589","ASB-A-187957589","EUVD-2021-3259","GHSA-x75x-rr26-fwqf"],"status":"published","title":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing...","description":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-9Android ID: A-187957589","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00217,"percentile":0.12266,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-787"],"published":"2021-08-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"Trinadh465/frameworks_base_AOSP10_r33_CVE-2021-0640","title":"Trinadh465/frameworks_base_AOSP10_r33_CVE-2021-0640","date":"2022-04-21","url":"https://github.com/Trinadh465/frameworks_base_AOSP10_r33_CVE-2021-0640"}],"fixes":[{"ecosystem":"Android","package":"platform/frameworks/base","fixed_in":["9:2021-08-01","10:2021-08-01","11:2021-08-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-08-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-08-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-08-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-08-01","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0640"},{"url":"https://github.com/advisories/GHSA-x75x-rr26-fwqf"},{"url":"https://android.googlesource.com/platform/frameworks/base/+/fbe5177bd5d704dabf434458649fd93a07d8d654","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0640","description":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-9Android ID: A-187957589","status":"published","published":"2021-08-17T18:28:56Z","modified":"2024-08-03T15:47:28.206Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-3259","description":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-9Android ID: A-187957589","status":"published","published":"2021-08-17T18:28:56Z","modified":"2024-08-03T15:47:28Z","updated_at":"2026-11-03T03:25:16.546422Z"}],"ghsa":[{"id":"GHSA-x75x-rr26-fwqf","title":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing...","description":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-9Android ID: A-187957589","status":"published","published":"2022-05-24T19:11:24Z","modified":"2023-01-30T05:01:32Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:25.989719Z"}],"nvd":[{"id":"CVE-2021-0640","description":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-9Android ID: A-187957589","status":"published","published":"2021-08-17T19:15:07.85Z","modified":"2026-06-17T03:30:27.563Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:57.318236Z"}],"osv":[{"id":"ASB-A-187957589","description":"In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing bounds check. 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-08-01T00:00:00Z","modified":"2026-11-09T16:40:10.884737887Z","updated_at":"2026-11-10T17:35:05.376141Z"}]}}
