Adjacent-network code execution via oversized Wi-Fi password
Published Oct 21, 2024 · Updated Jul 5, 2026
Buffer overflow in Vilo Wi-Fi 5 Firmware 5.16.1.33 and earlier allows remote attackers to execute code through an oversized Wi-Fi password. local_app_set_router_wifi_SSID_PWD measures the JSON password with strlen() and passes that length to memcpy() for a fixed 64-byte stack buffer. Access to the router's LAN and custom encrypted service on port 5432 is required; exploitation corrupts the stack and grants router code execution.
Summary
What happened
Buffer overflow in Vilo Wi-Fi 5 Firmware 5.16.1.33 and earlier allows remote attackers to execute code through an oversized Wi-Fi password. local_app_set_router_wifi_SSID_PWD measures the JSON password with strlen() and passes that length to memcpy() for a fixed 64-byte stack buffer. Access to the router's LAN and custom encrypted service on port 5432 is required; exploitation corrupts the stack and grants router code execution.
The record
- CVE
- CVE-2024-40086
- Published
- Oct 21, 2024
- Updated
- Jul 5, 2026
- Vendor
- Vilo Living
- Product
- Vilo Wi-Fi 5 Firmware
- Classifications
- CWE-120, T1190
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 21, 2024CVE publishedPublication date reported by the CVE source.
- Jul 5, 2026Record 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 <=5.16.1.33
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
- BYU oversized-password proof of conceptproof of concept · 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