# CVE-2021-0870: In RWSetActivatedTagType of rwmain.cc, there is possible memory corruption due to a race condition.

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 7.01%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-22T13:27:28.000Z
- Modified: 2026-06-17T03:30:35.317Z
- Weaknesses: CWE-362
- Assigned by: google_android

## Description

In RW_SetActivatedTagType of rw_main.cc, there is possible memory corruption due to a race condition. This could lead to remote code execution 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-192472262

(As written by CVE List.)

## Affected

- Android: Android-9 Android-10 Android-11 Android-8.1
- google android: 8.1; 9.0; 10.0; 11.0

## Every score

- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.3 High `AV:N/AC:M/Au:N/C:C/I:C/A:C`

## References

- <http://packetstormsecurity.com/files/164704/Android-NFC-Type-Confusion.html> (exploit, third-party-advisory, vdb-entry)
- <https://source.android.com/security/bulletin/2021-10-01> (patch, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-0870 · Whole record: https://cve.day/CVE-2021-0870.json · Rebuilt by cve.day 2026-11-25T22:58:04.735Z
