CVE-2023-40115: Use After Free

Published Nov 1, 2023
·
Updated

In readLogs of StatsService.cpp, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Affected Software

12 affected componentsFixes available
Google Android=11.0
Google Android=12.0
Google Android=12.1
Google Android=13.0
Google Android=14.0
Google Android
android/platform/packages/modules/statsd>=14-next:0<14-next:2023-11-01
14-next:2023-11-01
android/platform/frameworks/base>=11:0<11:2023-11-01
11:2023-11-01
android/platform/packages/modules/statsd>=12:0<12:2023-11-01
12:2023-11-01
android/platform/packages/modules/statsd>=12L:0<12L:2023-11-01
12L:2023-11-01
android/platform/packages/modules/statsd>=13:0<13:2023-11-01
13:2023-11-01
android/platform/packages/modules/statsd>=14:0<14:2023-11-01
14:2023-11-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade android/platform/packages/modules/StatsD to a version that resolves this vulnerability.

    Fixed in 14-next:2023-11-01
  2. Upgrade

    Upgrade android/platform/frameworks/base to a version that resolves this vulnerability.

    Fixed in 11:2023-11-01
  3. Upgrade

    Upgrade android/platform/packages/modules/StatsD to a version that resolves this vulnerability.

    Fixed in 12:2023-11-01
  4. Upgrade

    Upgrade android/platform/packages/modules/StatsD to a version that resolves this vulnerability.

    Fixed in 12L:2023-11-01
  5. Upgrade

    Upgrade android/platform/packages/modules/StatsD to a version that resolves this vulnerability.

    Fixed in 13:2023-11-01
  6. Upgrade

    Upgrade android/platform/packages/modules/StatsD to a version that resolves this vulnerability.

    Fixed in 14:2023-11-01

Event History

Nov 1, 2023
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Nov 6, 2023
CVE Published
via Android·12:00 AM
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Feb 15, 2024
CVE Published
via MITRE·10:31 PM
Data Sourced
via MITRE·10:31 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-40115?

CVE-2023-40115 is classified as a local escalation of privilege vulnerability.

2

How do I fix CVE-2023-40115?

To fix CVE-2023-40115, ensure that your Android device has been updated to the latest security patch provided by Google.

3

What versions of Android are affected by CVE-2023-40115?

CVE-2023-40115 affects Android versions 11.0, 12.0, 12.1, 13.0, and 14.0.

4

Is user interaction required to exploit CVE-2023-40115?

No, user interaction is not needed for the exploitation of CVE-2023-40115.

5

What is the nature of the vulnerability CVE-2023-40115?

CVE-2023-40115 involves memory corruption due to a use after free in the readLogs function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203