Every CVE Search/ Get API key

CVE-2024-31311

In increment_annotation_count of stats_event.c, there is a possible out of bounds write due to a...

7.8 HighFix available

In increment_annotation_count of stats_event.c, 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.

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.10%Up 0.1 points since Jul 10, 2024
90%50%10%1%

What each source reports

NVD Score used 7.8

In increment_annotation_count of stats_event.c, 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
CVE-2024-31311
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 3.1
6.3 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-787, CWE-269
Updated
2026-11-02
CVE List 6.3

In increment_annotation_count of stats_event.c, 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
CVE-2024-31311
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-269
Updated
2026-11-02
EUVDEUVD-2024-29207 6.3

In increment_annotation_count of stats_event.c, 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
EUVD-2024-29207
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-g2w4-xpfp-74f3 6.3

In increment_annotation_count of stats_event.c, there is a possible out of bounds write due to a...

In increment_annotation_count of stats_event.c, 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
GHSA-g2w4-xpfp-74f3
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-269, CWE-787
Updated
2026-11-02
OSVASB-A-330054251 No score

In increment_annotation_count of stats_event.c, 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-330054251
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/packages/modules/StatsD
Android
14-next:0 up to 14-next:2024-06-01, plus listed versions
14-next
14-next:2024-06-01
platform/packages/modules/StatsD
Android
12:0 up to 12:2024-06-01, plus listed versions
12
12:2024-06-01
platform/packages/modules/StatsD
Android
12L:0 up to 12L:2024-06-01, plus listed versions
12L
12L:2024-06-01
platform/packages/modules/StatsD
Android
13:0 up to 13:2024-06-01, plus listed versions
13
13:2024-06-01
platform/packages/modules/StatsD
Android
14:0 up to 14:2024-06-01, plus listed versions
14
14:2024-06-01

History

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

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

In short

CVE-2024-31311 is a high vulnerability (CVSS 7.8) in Google Android, published June 1, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.10%, the 0th percentile. Fixed in platform/packages/modules/StatsD 14-next:2024-06-01.

References

MoveEnter Open