{"id":"ASB-A-203847542","details":"In ipcSetDataReference of Parcel.cpp, there is a possible way to corrupt memory 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.","aliases":["A-203847542","CVE-2021-39620"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2022-01-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-01-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/frameworks/native/+/f2e0a95700a937e421647623a60c9fc01d6e5d87"}],"affected":[{"package":{"name":"platform/frameworks/native","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2022-01-01"}]}],"versions":["11"],"ecosystem_specific":{"spl":"2022-01-01","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"length":1276,"function_hash":"144609664463200789840411049854569021572"},"id":"ASB-A-203847542-b60b1a8c","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/native/+/d668098e4714025b41052207c9332de86dc3936a","target":{"function":"Parcel::ipcSetDataReference","file":"libs/binder/Parcel.cpp"}},{"digest":{"threshold":0.9,"line_hashes":["98137480975788759579922814741327671228","296481944491939447479301249339620908390","255680770530481632092119999480852922173","335918368435902695206397568346019004575","132768507783080792642256092800878294969","103982756747036362728424074686863731880","185907099120875731621615021484317954078"]},"id":"ASB-A-203847542-c4233554","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/native/+/d668098e4714025b41052207c9332de86dc3936a","target":{"file":"libs/binder/Parcel.cpp"},"deprecated":false}],"fixes":["https://android.googlesource.com/platform/frameworks/native/+/d668098e4714025b41052207c9332de86dc3936a"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-203847542.json"}},{"package":{"name":"platform/frameworks/native","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2022-01-01"}]}],"versions":["12"],"ecosystem_specific":{"spl":"2022-01-01","types":["EoP"],"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/native/+/7c8497e0127dde63957ee39e90e62b119d09948d","target":{"file":"libs/binder/Parcel.cpp"},"deprecated":false,"digest":{"line_hashes":["98137480975788759579922814741327671228","296481944491939447479301249339620908390","255680770530481632092119999480852922173","335918368435902695206397568346019004575","132768507783080792642256092800878294969","103982756747036362728424074686863731880","185907099120875731621615021484317954078"],"threshold":0.9},"id":"ASB-A-203847542-5ce76df0"},{"digest":{"function_hash":"332897563253174728649794722178199941684","length":1139},"id":"ASB-A-203847542-c9140953","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/frameworks/native/+/7c8497e0127dde63957ee39e90e62b119d09948d","target":{"file":"libs/binder/Parcel.cpp","function":"Parcel::ipcSetDataReference"},"deprecated":false}],"fixes":["https://android.googlesource.com/platform/frameworks/native/+/7c8497e0127dde63957ee39e90e62b119d09948d"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-203847542.json"}}],"schema_version":"1.9.0"}