Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5211: Stack-based Buffer Overflow in D-Link DNS-120

0
High
VulnerabilityCVE-2026-5211cvecve-2026-5211
Published: Tue Mar 31 2026 (03/31/2026, 19:30:17 UTC)
Source: CVE Database V5
Vendor/Project: D-Link
Product: DNS-120

Description

A flaw 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 vulnerability affects the function UPnP_AV_Server_Path_Del of the file /cgi-bin/app_mgr.cgi. Executing a manipulation of the argument f_dir can lead to stack-based buffer overflow. The attack can be executed remotely. The exploit has been published and may be used.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/31/2026, 20:08:26 UTC

Technical Analysis

CVE-2026-5211 is a critical stack-based buffer overflow vulnerability discovered in multiple D-Link NAS devices, including DNS-120, DNS-315L, DNS-320, DNS-323, DNS-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05, and DNS-1550-04, among others, up to firmware version 20260205. The vulnerability resides in the UPnP_AV_Server_Path_Del function within the /cgi-bin/app_mgr.cgi CGI script, which processes the f_dir parameter. Improper validation or bounds checking of this parameter allows an attacker to craft a malicious request that triggers a stack-based buffer overflow. This overflow can overwrite the stack, potentially enabling remote code execution with elevated privileges on the device. The vulnerability is remotely exploitable over the network without requiring authentication or user interaction, making it highly dangerous. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P) indicates network attack vector, low complexity, no authentication, no user interaction, and high impact on confidentiality, integrity, and availability. Although no confirmed exploits are currently observed in the wild, proof-of-concept exploits have been published, increasing the likelihood of active exploitation. The affected devices are commonly used in small and medium business environments as network-attached storage solutions, often containing sensitive data and serving critical file-sharing functions. The vulnerability's exploitation could lead to full device compromise, data theft, disruption of services, or use of the device as a foothold for lateral movement within networks. No official patches or firmware updates have been linked in the provided data, emphasizing the need for immediate mitigation and monitoring.

Potential Impact

The exploitation of CVE-2026-5211 can have severe consequences for organizations worldwide. Successful attacks can lead to complete compromise of affected D-Link NAS devices, allowing attackers to execute arbitrary code with elevated privileges. This can result in unauthorized access to sensitive data stored on the devices, disruption of file-sharing services, and potential use of compromised devices as pivot points for further network intrusion. The high severity and ease of exploitation increase the risk of widespread attacks, especially in environments where these devices are exposed to untrusted networks or the internet. Organizations relying on these NAS devices for critical data storage or backup may face data breaches, operational downtime, and reputational damage. Additionally, compromised devices could be enlisted into botnets or used to launch further attacks, amplifying the threat. The lack of authentication and user interaction requirements makes this vulnerability particularly dangerous for remote exploitation. Without timely remediation, the risk of exploitation and associated impacts remains high.

Mitigation Recommendations

To mitigate CVE-2026-5211, organizations should take the following specific actions: 1) Immediately check for and apply any available firmware updates or patches from D-Link addressing this vulnerability. If no official patch is available, contact D-Link support for guidance. 2) Disable UPnP services on affected devices if they are not essential, as this reduces the attack surface. 3) Restrict network access to the management interfaces of the affected NAS devices by implementing strict firewall rules and network segmentation, ensuring that only trusted internal hosts can communicate with these devices. 4) Monitor network traffic for suspicious requests targeting /cgi-bin/app_mgr.cgi, especially those containing unusual or oversized f_dir parameters. 5) Employ intrusion detection/prevention systems (IDS/IPS) with signatures or heuristics to detect exploitation attempts against this vulnerability. 6) Conduct regular audits of device configurations and logs to identify potential compromise indicators. 7) Educate IT staff about this vulnerability and the importance of limiting exposure of NAS devices to untrusted networks. 8) Consider deploying network-level protections such as VPNs or jump hosts for administrative access to reduce exposure. These targeted mitigations go beyond generic advice by focusing on the specific vulnerable function and attack vector.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-31T10:29:27.201Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69cc2635e6bfc5ba1d36673a

Added to database: 3/31/2026, 7:53:25 PM

Last enriched: 3/31/2026, 8:08:26 PM

Last updated: 3/31/2026, 9:03:17 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses