Stack Buffer Overflow in D-Link DNS Router Webdav_Upload_File
CVE-2026-5212 Published on March 31, 2026
D-Link DNS-1550-04 webdav_mgr.cgi Webdav_Upload_File stack-based overflow
A vulnerability has been found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20260205. This issue affects the function Webdav_Upload_File of the file /cgi-bin/webdav_mgr.cgi. The manipulation of the argument f_file leads to stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used.
Timeline
Advisory disclosed
VulDB entry created
VulDB entry last update
Weakness Types
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2026-5212 has been classified to as a Stack Overflow vulnerability or weakness.
What is a Buffer Overflow Vulnerability?
The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.
CVE-2026-5212 has been classified to as a Buffer Overflow vulnerability or weakness.
Affected Versions
D-Link DNS-120:- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
- Version 20260205 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.