Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2831+ Articles
167+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. Critical Stack Overflow in D-Link DIR-823G Routers (CVE-2026-90680)
Critical Stack Overflow in D-Link DIR-823G Routers (CVE-2026-90680)

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-90680

Critical Stack Overflow in D-Link DIR-823G Routers (CVE-2026-90680)

An unauthenticated stack-based buffer overflow (CVSS 9.9) in D-Link DIR-823G's HNAP1 interface allows remote attackers to corrupt memory...

Dylan H.

Security Team

September 14, 2026
4 min read

Affected Products

  • D-Link DIR-823G 1.0.2B05_20181207 and earlier

Executive Summary

A critical stack-based buffer overflow (CVE-2026-90680) has been disclosed in the D-Link DIR-823G wireless router, affecting firmware version 1.0.2B05_20181207. The flaw carries a CVSS score of 9.9 and requires no authentication, no user interaction, and can be triggered remotely over the network — making it a high-value target for botnet operators and IoT-focused threat actors.

CVSS Score: 9.9 (Critical)

The vulnerability lives in the router's HNAP1 (Home Network Administration Protocol) interface, specifically the /HNAP1/SetStaticRouteSettings endpoint. The endpoint copies the PAddress, SubnetMask, and Gateway request parameters into a fixed-size stack buffer using the unsafe strcpy() function, with no bounds checking on the input length.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-90680
CVSS Score9.9 (Critical)
TypeStack-Based Buffer Overflow (CWE-121)
Attack VectorNetwork (no authentication required)
Privileges RequiredNone
User InteractionNone
ComponentHNAP1 /HNAP1/SetStaticRouteSettings
Vulnerable Functionstrcpy()

Affected Versions

ProductAffected VersionsFixed Version
D-Link DIR-823G1.0.2B05_20181207 and earlierNot yet published

Attack Vector

1. Attacker identifies a D-Link DIR-823G exposing the HNAP1 management interface
2. Attacker sends a crafted HNAP1 request to /HNAP1/SetStaticRouteSettings
3. The PAddress, SubnetMask, or Gateway argument contains an oversized string
4. strcpy() copies the value into a fixed stack buffer with no length check
5. The overflow corrupts adjacent stack memory, including the saved return address
6. Crafted overflow data redirects execution to attacker-controlled code

Impact of Successful Exploitation

ImpactDescription
Remote Code ExecutionArbitrary code execution in the router's firmware context
Denial of ServiceRouter crash/reboot from a malformed request
Botnet RecruitmentCompromised routers absorbed into IoT DDoS botnets
Network PivotingRouter used as a foothold into the local network
Traffic InterceptionAttacker-controlled routing/DNS manipulation

Why This Matters

Unauthenticated, network-reachable memory-corruption bugs in consumer router firmware are a recurring favorite for IoT botnet operators — this is the same bug class (CWE-121, unsafe strcpy() in an HNAP endpoint) that has powered past Mirai-derived campaigns against D-Link hardware. No public proof-of-concept has been observed yet, but the low attack complexity and lack of authentication make weaponization straightforward.


Immediate Remediation

Step 1: Check for a Firmware Update

D-Link has not yet published a patched firmware build for this specific CVE at the time of writing. Check the vendor's support page for DIR-823G regularly:

https://support.dlink.com

Step 2: Restrict Management Access

  1. Disable remote/WAN management on the device if enabled
  2. Restrict HNAP1 access to trusted LAN clients only, via firewall rules if the device supports them
  3. Segment IoT and consumer networking gear onto an isolated VLAN away from critical systems

Step 3: Consider Retirement

The DIR-823G is an older consumer router line. If a vendor patch is not issued promptly, replacing end-of-life hardware with an actively supported model is the most durable fix.


Detection Indicators

IndicatorDescription
Oversized PAddress/SubnetMask/Gateway values in HNAP1 requestsExploitation attempt
Unexpected router reboots or crash loopsPossible failed exploitation
Anomalous outbound traffic from the routerPossible successful compromise
Requests to /HNAP1/SetStaticRouteSettings from WAN-facing IPsRemote exploitation attempt

References

  • NVD — CVE-2026-90680
  • VulDB — CVE-2026-90680

Related Reading

  • WPvivid Backup Plugin RCE (CVE-2026-1357)
  • Zimbra ZCS OS Command Injection
  • WinRAR Active Exploitation
#CVE#D-Link#Router Security#IoT#Buffer Overflow#RCE

Related Articles

D-Link DIR-825M Disk-Format Stack Overflow (CVE-2026-82592)

CVE-2026-82592 is a critical, unauthenticated stack overflow in D-Link DIR-825M's disk-formatting endpoint, with a public exploit available.

4 min read

D-Link DIR-825M LTE Upgrade Stack Overflow (CVE-2026-82593)

CVE-2026-82593 is a critical, unauthenticated stack overflow in D-Link DIR-825M's LTE firmware-upgrade handler, with a public exploit available.

3 min read

D-Link DHP-1320 SOAP Handler Stack Buffer Overflow

A CVSS 8.8 stack-based buffer overflow in D-Link DHP-1320 firmware 1.00WWB04 allows unauthenticated remote attackers to execute arbitrary code via a...

5 min read
Back to all Security Alerts