Unauthenticated code execution via unbounded argument splitting
Published Jun 17, 2022 · Updated Apr 15, 2025
Stack-based buffer overflow in Blynk Library 1.0.1 allows remote attackers to execute code via a crafted network command. The runCommand function allocates an eight-pointer argv array, but split_argv writes a pointer for every space-delimited argument without receiving or enforcing the array bound. No authentication or user interaction is required; enough arguments overwrite the saved return address with a pointer into attacker-controlled command data on executable-memory architectures.
Summary
What happened
Stack-based buffer overflow in Blynk Library 1.0.1 allows remote attackers to execute code via a crafted network command. The runCommand function allocates an eight-pointer argv array, but split_argv writes a pointer for every space-delimited argument without receiving or enforcing the array bound. No authentication or user interaction is required; enough arguments overwrite the saved return address with a pointer into attacker-controlled command data on executable-memory architectures.
The record
- CVE
- CVE-2022-29496
- Published
- Jun 17, 2022
- Updated
- Apr 15, 2025
- Vendor
- Blynk
- Product
- Blynk Library
- Classifications
- CWE-121, CWE-787, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 17, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 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=v1.0.1
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
- Cisco Talos runCommand stack-overflow demonstrationproof 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