| Title | D-Link DIR605 B1v202WWB03 B1v202WWB03 Out-of-bounds Write |
|---|
| Description | An out-of-bounds write vulnerability exists in the L2TP control message parser of D-Link DIR-605. When the device is configured to use L2TP WAN connectivity, a malicious L2TP server or an attacker able to spoof or intercept the L2TP peer can send a crafted control packet containing an oversized Host Name AVP and trigger memory corruption in the tunnel setup logic.
The vulnerability is caused by an off-by-one write when the code copies a length-delimited Host Name AVP into a fixed-size `peer_hostname` buffer and then places the terminating NUL byte at `len + 1` instead of `len`. |
|---|
| Source | ⚠️ https://tzh00203.notion.site/D-Link-DIR-605-L2TP-Host-Name-AVP-Out-of-Bounds-Write-33cb5c52018a809ba163f988c15fc1b7 |
|---|
| User | tian (UID 93438) |
|---|
| Submission | 07/27/2026 11:29 (1 month ago) |
|---|
| Moderation | 09/06/2026 18:18 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399459 [D-Link DIR-605 B1v202WWB03 L2TP Control Message Parser tunnel.c tunnel_set_params peer_hostname off-by-one] |
|---|
| Points | 17 |
|---|