Security Advisory

CVE-2020-29557: D-Link DIR-825/R1 Web Buffer Overflow

Last updated:
  • CVE-2020-29557

CVE-2020-29557 is a buffer overflow in the web interface of the D-Link DIR-825/R1 router, firmware 3.0.1 and earlier, that allows remote code execution before login. NVD scores it 9.8 and CISA lists it in KEV. D-Link Russia fixed it in firmware 3.0.2 (November 2020); install 3.0.2 or the later 3.0.3.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

55.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2020-29557 · Source: NVD

Affected components

ComponentCPEVersion range
D-Link DIR-825/R1cpe:2.3:o:dlink:dir-825_r1_firmware:*:*:*:*:*:*:*:*Firmware 3.0.1 and earlier (NVD: versionEndIncluding 3.0.1); fixed in 3.0.2 (20.11.2020), latest 3.0.3 (24.08.2021) per D-Link Russia downloads

What does this mean for affected devices?

NVD describes it as follows: "An issue was discovered on D-Link DIR-825 R1 devices through 3.0.1 before 2020-11-20. A buffer overflow in the web interface allows attackers to achieve pre-authentication remote code execution." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and CISA ADP gives the same 9.8; both classify it as CWE-119. MITRE published the record on 2021-01-29 (NVD, CVE record). The researcher's write-up that NVD references is no longer online.

Which firmware fixes CVE-2020-29557?

The DIR-825/R1 appears on D-Link Russia's site, and its fix is documented on the D-Link Russia download page for the DIR-825/R1, which NVD links. The release notes for firmware 3.0.2, dated 20.11.2020 (file DIR_825E_RT8197F_3.0.2_release.bin), list among the changes the removal of a buffer overflow in the web interface in the browser-version check function, citing CVE-2020-29557. Version 3.0.1 (16.09.2019) is the last affected build, which matches NVD's CPE range of 3.0.1 and earlier. The page also lists 3.0.3 (24.08.2021) as the newest firmware. D-Link's notes say a factory reset is needed to apply the new functions, after which the Wi-Fi password is the WPS PIN on the device label and the web admin password must be changed on first login. CISA's required action is "Apply updates per vendor instructions."

Is the US DIR-825 the same device?

No. The US DIR-825 hardware revision C is a different product; D-Link lists it as end of life in SAP10124 for the PingTest injection CVE-2019-16920. NVD's CPE for this CVE names only dir-825_r1_firmware.

Is CVE-2020-29557 exploited?

Yes. CISA added it to the KEV catalog on 2021-11-03 as "D-Link DIR-825 R1 Devices Buffer Overflow Vulnerability", with a due date of 2022-05-03. Known ransomware campaign use is Unknown. It is listed as of 2026-11-24 (catalog version 2026.11.23) (CISA KEV). FIRST EPSS gives it 0.55747, the 99.06th percentile, in the 2026-11-23 dataset (FIRST EPSS). Keep the router's web interface off the WAN (BOD 23-02 guide), and see how to fix memory corruption in embedded firmware for how this bug class is prevented in request-parsing code such as a browser-version check.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: 'An issue was discovered on D-Link DIR-825 R1 devices through 3.0.1 before 2020-11-20. A buffer overflow in the web interface allows attackers to achieve pre-authentication remote code execution.'; [email protected] Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; CISA ADP 9.8; CWE-119; CPE dir-825_r1_firmware versionEndIncluding 3.0.1; reference shaqed.github.io/dlink tagged Broken Link (404 on 2026-11-24); dlink.ru download page tagged Product; published 2021-01-29; status Analyzed; read 2026-11-24. — NVD
  • D-Link Russia DIR-825/R1 downloads: firmware 3.0.2 dated 20.11.2020 (2020.11.30-15.50_DIR_825E_RT8197F_3.0.2_release.bin), change 4: fixed web-interface buffer overflow in the browser version check function (CVE-2020-29557); 3.0.1 dated 16.09.2019; 3.0.3 dated 24.08.2021 latest; factory reset needed for new functions, Wi-Fi password is the WPS PIN on the label, admin password must differ from login and be changed at first login. — D-Link Russia
  • D-Link SAP10124: DIR-825 Hardware Revision Cx firmware 3.02 and below affected by CVE-2019-16920, end of life. — D-Link
  • CVE record: state PUBLISHED, CNA MITRE; CISA ADP CVSS 3.1 9.8 and CWE-119; KEV dateAdded 2021-11-03. — CVE.org
  • CISA KEV catalog 2026.11.23: dateAdded 2021-11-03, due 2022-05-03, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-119; checked 2026-11-24. — CISA KEV
  • EPSS 0.55747, percentile 0.99063, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. D-Link Russia: DIR-825/R1 firmware downloads and release notes (3.0.2 fixes CVE-2020-29557)
  3. D-Link SAP10124: CVE-2019-16920 (US DIR-825 Rev. Cx, end of life)
  4. CVE.org record CVE-2020-29557 (CNA: MITRE)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which firmware fixes CVE-2020-29557?

Firmware 3.0.2 for the DIR-825/R1, released 20.11.2020, whose notes cite CVE-2020-29557 as a fixed web-interface buffer overflow in the browser-version check. Firmware 3.0.3 (24.08.2021) is the newest build listed (per D-Link Russia's DIR-825/R1 download page).

Does CVE-2020-29557 need a login?

No. NVD's description says the overflow allows pre-authentication remote code execution, and its CVSS v3.1 9.8 vector requires no privileges and no user interaction (per NVD).

Is CVE-2020-29557 exploited in the wild?

Yes. CISA added it to KEV on 2021-11-03, and it is listed as of 2026-11-24 (catalog version 2026.11.23) with ransomware use marked Unknown. FIRST EPSS gives it 0.55747, the 99.06th percentile, in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).

Is my US DIR-825 affected by CVE-2020-29557?

NVD's CPE names only the DIR-825/R1, a model on D-Link's Russian download site. The US DIR-825 Rev. C is a separate product that D-Link lists as end of life under CVE-2019-16920 (per NVD, D-Link Russia and D-Link SAP10124).