# CVE-2026-124562: D-Link DIR-878 HNAP SetWanSettings buffer overflow

Status: published. Published: 2026-11-09. Updated: 2026-11-09.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- D-Link / DIR-878: 1.20B05 (affected). Source: CNA: VulDB

## Severity and prioritization

- CVSS 4.0: 8.7 (high); CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P; source: CNA: VulDB

- CVSS 3.1: 7.5 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:X/RC:R; source: CNA: VulDB

- CVSS 3.0: 7.5 (high); CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:X/RC:R; source: CNA: VulDB

- CVSS 2.0: 7.8 (high); AV:N/AC:L/Au:N/C:N/I:N/A:C/E:POC/RL:ND/RC:UR; source: CNA: VulDB

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-120, CWE-119

## Exploit evidence

- exploit: https://github.com/Zimo-666/DIR-878-cves/tree/main/02-setwansettings-dns-stack-overflow (CNA: VulDB)

## References

- https://vuldb.com/vuln/432894 (CNA: VulDB; vdb-entry, technical-description)

- https://vuldb.com/vuln/432894/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-124562 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1035618 (CNA: VulDB; third-party-advisory)

- https://github.com/Zimo-666/DIR-878-cves/tree/main/02-setwansettings-dns-stack-overflow (CNA: VulDB; broken-link, exploit)

- https://www.dlink.com/ (CNA: VulDB; product)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-124562; retrieved 2026-11-09; source updated 2026-11-09

Revision: c81903ee3b3d5b385e1f6a9a96764526e58c2e1b20006dbe0f322f97091c41ee

Canonical: https://y2.dev/cve/CVE-2026-124562

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.