Every CVE Search/ Get API key

CVE-2021-0397

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double...

9.8 CriticalPublic exploitFix available

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-174052148

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

5.67%Up 5.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-174052148

Record
CVE-2021-0397
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-415
Updated
2026-11-02
CVE List No score

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-174052148

Record
CVE-2021-0397
Updated
2026-11-02
EUVDEUVD-2021-3016 No score

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-174052148

Record
EUVD-2021-3016
Updated
2026-11-03
GitHub AdvisoriesGHSA-7864-h326-5m8j No score

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double...

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-174052148

Record
GHSA-7864-h326-5m8j
Weakness
CWE-415
Updated
2026-11-02
OSVASB-A-174052148 No score

In sdp_copy_raw_data of sdp_discovery.cc, there is a possible system compromise due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

Record
ASB-A-174052148
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/system/bt
Android
8.1:0 up to 8.1:2021-03-01, plus listed versions
8.1
8.1:2021-03-01
platform/system/bt
Android
9:0 up to 9:2021-03-01, plus listed versions
9
9:2021-03-01
platform/system/bt
Android
10:0 up to 10:2021-03-01, plus listed versions
10
10:2021-03-01
platform/system/bt
Android
11:0 up to 11:2021-03-01, plus listed versions
11
11:2021-03-01

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubSatheesh575555/System_bt_AOSP10-r33_CVE-2021-03972022-04-01

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-0397 is a critical vulnerability (CVSS 9.8) in Google Android, published March 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 5.67%, the 93rd percentile. Fixed in platform/system/bt 8.1:2021-03-01.

References

MoveEnter Open