{"id":"CVE-2021-0646","aliases":["A-153352319","ASB-A-153352319","EUVD-2021-3265","GHSA-4pf8-rcwc-5q5p"],"status":"published","title":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper...","description":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if the user can also inject a printf into a privileged process's SQL with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-153352319","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0012,"percentile":0.01849,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-787"],"published":"2021-08-01T00:00:00Z","modified":"2026-11-04T16:48:29Z","fixes":[{"ecosystem":"Android","package":"platform/external/sqlite","fixed_in":["8.1:2021-08-01","9:2021-08-01","10:2021-08-01","11:2021-08-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/external/sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-08-01"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Android","package":"platform/external/sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-08-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/external/sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-08-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/external/sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-08-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-08-01","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0646"},{"url":"https://github.com/advisories/GHSA-4pf8-rcwc-5q5p"},{"url":"https://android.googlesource.com/platform/external/sqlite/+/c072485125763d11da918aec3232b9e3b113d8dd","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0646","description":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if the user can also inject a printf into a privileged process's SQL with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-153352319","status":"published","published":"2021-08-17T18:28:05Z","modified":"2024-08-03T15:47:28.248Z","updated_at":"2026-11-02T14:33:10.555814Z"}],"euvd":[{"id":"EUVD-2021-3265","description":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if the user can also inject a printf into a privileged process's SQL with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-153352319","status":"published","published":"2021-08-17T18:28:05Z","modified":"2024-08-03T15:47:28Z","updated_at":"2026-11-03T03:25:16.546422Z"}],"ghsa":[{"id":"GHSA-4pf8-rcwc-5q5p","title":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper...","description":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if the user can also inject a printf into a privileged process's SQL with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-153352319","status":"published","published":"2022-05-24T19:11:23Z","modified":"2023-01-27T05:03:20Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:42:13.302487Z"}],"nvd":[{"id":"CVE-2021-0646","description":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if the user can also inject a printf into a privileged process's SQL with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-153352319","status":"published","published":"2021-08-17T19:15:08.017Z","modified":"2026-06-17T03:30:28.27Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:57.318236Z"}],"osv":[{"id":"ASB-A-153352319","description":"In sqlite3_str_vappendf of sqlite3.c, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if the user can also inject a printf into a privileged process's SQL with no additional execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-08-01T00:00:00Z","modified":"2026-11-09T16:40:10.884737887Z","updated_at":"2026-11-09T17:04:22.742827Z"}]}}
