{"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-04-13T15:04:09.269232Z","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","severity":"Moderate","vanir_signatures":[{"id":"PUB-A-193849901-2d8a584f","source":"https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9","deprecated":false,"signature_version":"v1","digest":{"length":1408,"function_hash":"223390943537358684186148273482782980107"},"target":{"file":"core/java/android/text/TextLine.java","function":"getOffsetBeforeAfter"},"signature_type":"Function"},{"id":"PUB-A-193849901-3717620d","source":"https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9","deprecated":false,"signature_version":"v1","digest":{"line_hashes":["38073214442450614681091642856483663709","120798112187493769443729405617034277899","203003597436005622131483406585851092337","132847084308367245225299506382699128193"],"threshold":0.9},"target":{"file":"core/java/android/text/TextLine.java"},"signature_type":"Line"}],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/3582d26e2aee4f4b43238864ff5f41bf8e9c7fb9"],"types":["DoS"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-193849901.json"}}],"schema_version":"1.7.5"}