Kernel code execution via WPA2 length underflow
Published Aug 9, 2024 · Updated Mar 13, 2025
Stack buffer overflow in Sonos speaker firmware before S2 15.9 allows physically proximate attackers to execute code in the kernel. WpaParseEapolKeyData subtracts six from an unchecked information-element length, underflowing a size and copying up to 255 controlled bytes into a 32-byte GTK stack buffer. Exploitation requires a nearby malicious access point that knows the configured SSID and WPA key; successful code execution fully compromises the speaker.
Summary
What happened
Stack buffer overflow in Sonos speaker firmware before S2 15.9 allows physically proximate attackers to execute code in the kernel. WpaParseEapolKeyData subtracts six from an unchecked information-element length, underflowing a size and copying up to 255 controlled bytes into a 32-byte GTK stack buffer. Exploitation requires a nearby malicious access point that knows the configured SSID and WPA key; successful code execution fully compromises the speaker.
The record
- CVE
- CVE-2023-50809
- Published
- Aug 9, 2024
- Updated
- Mar 13, 2025
- Vendor
- Sonos
- Product
- Sonos S2 app
- Classifications
- CWE-121, T1203
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 9, 2024CVE publishedPublication date reported by the CVE source.
- Mar 13, 2025Record 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=0 <15.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- NCC Group Sonos One over-the-air exploit whitepaperfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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