Stack-based buffer overflow in DIR-632 - CVE-2025-5912

 

Stack-based buffer overflow in DIR-632 - CVE-2025-5912

Published: June 20, 2025


Vulnerability identifier: #VU111524
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-5912
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: D-Link
Affected software:
DIR-632

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in "do_file" function in the HTTP POST Request Handler component. A remote user can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-5912

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources