Utility crash via unbounded device-path concatenation
Published Jan 12, 2026 · Updated Jan 12, 2026
Stack-based buffer overflow in TinyOS mcp2200gpio 2.1.2 and earlier allows local users to crash the utility via a crafted filename. Automatic /dev/usb discovery appends dir->d_name to a 255-byte stack buffer with unbounded strcpy() and strcat() calls. Creating the filename requires local filesystem privileges; confirmed impact is process memory corruption and a crash, while code execution is reported only for non-hardened builds.
Summary
What happened
Stack-based buffer overflow in TinyOS mcp2200gpio 2.1.2 and earlier allows local users to crash the utility via a crafted filename. Automatic /dev/usb discovery appends dir->d_name to a 255-byte stack buffer with unbounded strcpy() and strcat() calls. Creating the filename requires local filesystem privileges; confirmed impact is process memory corruption and a crash, while code execution is reported only for non-hardened builds.
The record
- CVE
- CVE-2026-22212
- Published
- Jan 12, 2026
- Updated
- Jan 12, 2026
- Vendor
- TinyOS
- Product
- TinyOS
- Classifications
- CWE-121
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 12, 2026CVE publishedPublication date reported by the CVE source.
- Jan 12, 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 <=2.1.2
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
- Full Disclosure mcp2200gpio 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