# CVE-2023-40115: In readLogs of StatsService.cpp, there is a possible memory corruption due to a use after free.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-02-15T22:31:16.207Z
- Modified: 2026-06-17T06:16:14.603Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: google_android

## Description

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.

(As written by CVE List.)

## Affected

- Google Android: 14; 13; 12L; 12; 11; 11.0; 12.0; 12l; 13.0; 14.0; 12.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://android.googlesource.com/platform/packages/modules/StatsD/+/e4cd2d8f75d1b7b83a759d752f38099a9aa9997e> (mailing-list, patch)
- <https://source.android.com/security/bulletin/2023-11-01> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2023-40115](https://www.cve.org/CVERecord?id=CVE-2023-40115), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-40115](https://nvd.nist.gov/vuln/detail/CVE-2023-40115), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40115 · Whole record: https://cve.day/CVE-2023-40115.json · Rebuilt by cve.day 2026-11-25T22:58:32.971Z
