{"id":"PUB-A-193849901","details":"In getOffsetBeforeAfter of TextLine.java, there is a possible denial of service due to resource exhaustion. This could lead to remote denial of service with no additional execution privileges needed. User interaction is needed for exploitation.","aliases":["A-193849901","CVE-2021-0993"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2021-12-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2021-12-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9"}],"affected":[{"package":{"name":"platform/frameworks/base","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2021-12-01"}]}],"versions":["12"],"ecosystem_specific":{"spl":"2021-12-01","types":["DoS"],"vanir_signatures":[{"digest":{"function_hash":"223390943537358684186148273482782980107","length":1408},"id":"PUB-A-193849901-2d8a584f","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9","target":{"file":"core/java/android/text/TextLine.java","function":"getOffsetBeforeAfter"},"deprecated":false},{"signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9","target":{"file":"core/java/android/text/TextLine.java"},"deprecated":false,"digest":{"line_hashes":["38073214442450614681091642856483663709","120798112187493769443729405617034277899","203003597436005622131483406585851092337","132847084308367245225299506382699128193"],"threshold":0.9},"id":"PUB-A-193849901-3717620d","signature_type":"Line"}],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9"],"severity":"Moderate"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-193849901.json"}}],"schema_version":"1.9.0"}