Buffer overflow in D-Link DIR-878 HNAP SetWanSettings function
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
D-Link DIR-878 version 1.20B05 is affected. The SetWanSettings function in the HNAP Handler component does not check the size of the ConfigDNS Primary and Secondary arguments, which causes a buffer overflow (CWE-120). A remote attacker can trigger it without authentication, and a public exploit is available. The flaw affects only products that the maintainer no longer supports.
Written with Claude Haiku 5.5 from the sources below · 2026-11-09
Description from the CNA
A vulnerability was identified in D-Link DIR-878 1.20B05. Affected is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument ConfigDNS/Primary/ConfigDNS/Secondary leads to buffer overflow. The attack may be initiated remotely. The exploit is publicly available and might be used. This vulnerability only affects products that are no longer supported by the maintainer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for D-Link DIR-878.
Written with Claude Haiku 5.5 from the sources below · 2026-11-09
Timeline
- 2026-11-09 Threatist record created from CVE-2026-124562
- 2026-11-09 Alias added: GHSA-xq98-q783-w24j
- 2026-11-09 CISA SSVC decision points changed
References
More D-Link vulnerabilities
- TI-2024-03070 Command injection in D-Link DNS-320L, DNS-325, DNS-327L and DNS-340L KEVCVSS 3.1CRITICAL 9.8
- TI-2024-03069 Hard-coded credentials in several D-Link DNS NAS devices KEVCVSS 3.1CRITICAL 9.8
- TI-2024-00708 Path traversal in D-Link DIR-859 hedwig.cgi HTTP POST handler KEVCVSS 3.1CRITICAL 9.8
- TI-2023-10693 OS command injection in D-Link DIR820LA1_FW105B03 grants root access KEVCVSS 3.1CRITICAL 9.8
- TI-2022-17249 Buffer overflow in D-Link Go-RT-AC750 via cgibin and hnap_main KEVCVSS 3.1CRITICAL 9.8
- TI-2022-09657 Remote command execution in D-Link DIR-820L via HTTP POST requests KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-124562 · CVE Program
- CVE-2026-124562 · NVD
- FIRST EPSS
- GHSA-xq98-q783-w24j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences