A stack buffer overflow vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin in the rc binary's USB storage handling module. The vulnerability occurs when the "Serial Number" field from a USB device is read via sscanf into a 64-byte stack buffer, while fgets reads up to 127 bytes, causing a stack overflow. An attacker with physical access or control over a USB device can exploit this vulnerability to potentially execute arbitrary code on the device.
CVE-2025-60674
CVSS base score
6.8 (v3.1)
Severity
MEDIUM
Attack vector
Physical
Weakness
CWE-121
Last modified
November 5, 2026
CVSS vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
dlink dir-878 firmware
References
- github.com Exploit, Third Party Advisory
- www.dlink.com Product
- www.dlink.com Vendor Advisory