Buffer overflow in Dlink Dir-816 Firmware
CVE-2025-60679
A stack buffer overflow vulnerability exists in the D-Link DIR-816A2 router firmware DIR-816A2_FWv1.10CNB05_R1B011D88210.img in the upload.cgi module, which handles firmware version information. The vulnerability occurs because /proc/version is read into a 512-byte buffer and then concatenated using sprintf() into another 512-byte buffer containing a 29-byte constant. Input exceeding 481 bytes triggers a stack buffer overflow, allowing an attacker who can control /proc/version content to potentially execute arbitrary code on the device.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 54.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dlink Dir-816 Firmware — versions 1.10cnb05_r1b011d88210
Weakness classification (CWE)
References
- d-link.com (Product)
- www.dlink.com/en/security-bulletin/ (Vendor Advisory)
- www.dlink.com/en (Product)
- github.com/yifan20020708/SGTaint-0-day/blob/main/DLink/DLink-DIR-816/CVE-2025-6… (Exploit, Third Party Advisory)