Zero-click code execution via SDP heap overflow
Published Apr 1, 2020 · Updated Aug 4, 2024
Heap overflow in CoreBluetooth in Apple macOS before Catalina 10.15.3 allows remote attackers to execute arbitrary code without user interaction. SDPClientConnection handleServiceSearchAttributeResponse:length:transactionID: copies an attacker-controlled packet length of up to 255 bytes into a fixed 32-byte heap buffer. Bluetooth pairing normally gates the trigger, but the published chain reaches it without pairing and combines a separate memory leak with heap shaping to redirect execution.
Summary
What happened
Heap overflow in CoreBluetooth in Apple macOS before Catalina 10.15.3 allows remote attackers to execute arbitrary code without user interaction. SDPClientConnection handleServiceSearchAttributeResponse:length:transactionID: copies an attacker-controlled packet length of up to 255 bytes into a fixed 32-byte heap buffer. Bluetooth pairing normally gates the trigger, but the published chain reaches it without pairing and combines a separate memory leak with heap shaping to redirect execution.
The record
- CVE
- CVE-2020-3848
- Published
- Apr 1, 2020
- Updated
- Aug 4, 2024
- Vendor
- Apple
- Product
- macOS
- Classifications
- CWE-20, CWE-787, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <macOS Catalina 10.15.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Take Down MacOS Bluetooth with Zero-click RCEfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo