CVE-2026-5213 D-Link DNS-1550-04 account_mgr.cgi cgi_adduser_to_session stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the account manager CGI script to execute arbitrary code on affected D-Link NAS devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5213?

CVE-2026-5213 is a high-severity memory corruption vulnerability in Dlink Dns-320 Firmware, published on 31 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was determined 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. The affected element is the function cgi_adduser_to_session of the file /cgi-bin/account_mgr.cgi. This manipulation of the argument read_list causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized.

Weakness: CWE-121, CWE-787, CWE-119

Which versions are affected by CVE-2026-5213?

It affects 20 products.

Products include Dlink Dnr-202l Firmware, Dlink Dnr-326 Firmware, Dlink Dns-1100-4 Firmware, Dlink Dns-1200-05 Firmware, Dlink Dns-120 Firmware, Dlink Dns-1550-04 Firmware and 14 more.

How do I fix CVE-2026-5213?

No fix has been published for CVE-2026-5213 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-5213 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5213 exists.

All Dlink Dns-320 Firmware vulnerabilities

Sources

Also known as GHSA-rgch-x4h6-m876.

Is CVE-2026-5213 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free