Impact
A stack-based buffer overflow in TinyOS 2.1.2 and earlier arises from unsafe use of strcpy() and strcat() when constructing device paths during automatic discovery. A local attacker who can create specially crafted filenames under /dev/usb/ can trigger stack memory corruption, leading to application crashes. The vulnerability is a classic stack overflow (CWE‑121).
Affected Systems
The affected product is TinyOS, specifically all releases up to and including 2.1.2. Devices running these versions that perform automatic device discovery and allow writing under /dev/usb/ could be affected.
Risk and Exploitability
The CVSS score of 4.8 indicates moderate severity. EPSS indicates a very low probability of exploitation (<1%). The vulnerability is not listed in CISA’s Known Exploited Vulnerabilities catalog. Exploitation requires local file system access, so the attack vector is local (the attacker must be able to create files under /dev/usb/). The impact is denial of service due to stack memory corruption and application crashes.
OpenCVE Enrichment