Every CVE Search/ Get API key

CVE-2021-0640

In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing...

7.8 HighPublic exploitFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.22%Down 0.2 points since Aug 18, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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

Record
CVE-2021-0640
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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

Record
CVE-2021-0640
Updated
2026-11-02
EUVDEUVD-2021-3259 No score

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

Record
EUVD-2021-3259
Updated
2026-11-03
GitHub AdvisoriesGHSA-x75x-rr26-fwqf No score

In noteAtomLogged of StatsdStats.cpp, there is a possible out of bounds write due to a missing...

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

Record
GHSA-x75x-rr26-fwqf
Weakness
CWE-787
Updated
2026-11-02
OSVASB-A-187957589 No score

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.

Record
ASB-A-187957589
Updated
2026-11-10

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/frameworks/base
Android
9:0 up to 9:2021-08-01, plus listed versions
9
9:2021-08-01
platform/frameworks/base
Android
10:0 up to 10:2021-08-01, plus listed versions
10
10:2021-08-01
platform/frameworks/base
Android
11:0 up to 11:2021-08-01, plus listed versions
11
11:2021-08-01

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubTrinadh465/frameworks_base_AOSP10_r33_CVE-2021-06402022-04-21

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-0640 is a high vulnerability (CVSS 7.8) in Google Android, published August 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 12th percentile. Fixed in platform/frameworks/base 9:2021-08-01.

References

MoveEnter Open