CVE-2021-0587
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write due to...
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write 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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-185259758
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write 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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-185259758
- Record
CVE-2021-0587- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-416, CWE-787
- Updated
- 2026-11-02
CVE List No score
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write 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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-185259758
- Record
CVE-2021-0587- Updated
- 2026-11-02
EUVDEUVD-2021-3206 No score
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write 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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-185259758
- Record
EUVD-2021-3206- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-82vv-whww-jc76 No score
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write due to...
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write 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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-185259758
- Record
GHSA-82vv-whww-jc76- Weakness
- CWE-787
- Updated
- 2026-11-02
OSVASB-A-185259758 No score
In StreamOut::prepareForWriting of StreamOut.cpp, there is a possible out of bounds write 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.
- Record
ASB-A-185259758- Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/hardware/interfacesAndroid |
8.1:0 up to 8.1:2021-07-01, plus listed versions 8.1 |
8.1:2021-07-01 |
platform/hardware/interfacesAndroid |
9:0 up to 9:2021-07-01, plus listed versions 9 |
9:2021-07-01 |
platform/hardware/interfacesAndroid |
10:0 up to 10:2021-07-01, plus listed versions 10 |
10:2021-07-01 |
platform/hardware/interfacesAndroid |
11:0 up to 11:2021-07-01, plus listed versions 11 |
11:2021-07-01 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-0587 is a high vulnerability (CVSS 7.8) in Google Android, published July 1, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.14%, the 3rd percentile. Fixed in platform/hardware/interfaces 8.1:2021-07-01.