# CVE-2023-40121: In appendEscapedSQLString of DatabaseUtils.java, there is a possible SQL injection due to unsafe deserialization.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2023-10-27T20:22:56.725Z
- Modified: 2026-06-17T06:16:16.180Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: google_android

## Description

In appendEscapedSQLString of DatabaseUtils.java, there is a possible SQL injection due to unsafe deserialization. This could lead to local information disclosure with User execution privileges needed. User interaction is not needed for exploitation.

(As written by CVE List.)

## Affected

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

## References

- <https://android.googlesource.com/platform/frameworks/base/+/3287ac2d2565dc96bf6177967f8e3aed33954253> (patch)
- <https://source.android.com/security/bulletin/2023-10-01> (patch, vendor-advisory)

## Sources

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

---

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