# CVE-2021-35395: Realtek AP-Router SDK Buffer Overflow Vulnerability

> CVE-2021-35395: Realtek AP-Router SDK Buffer Overflow Vulnerability. CVSS 9.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2021-35395
Last updated: 2025-10-21T23:25:37Z

- Published: 2021-08-16 11:07 UTC · Updated: 2025-10-21 23:25 UTC · Assigner: mitre
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 98.1%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2021-11-03, federal due date 2021-11-17, ransomware use: Unknown

## Description

Realtek Jungle SDK version v2.x up to v3.4.14B provides an HTTP web server exposing a management interface that can be used to configure the access point. Two versions of this management interface exists: one based on Go-Ahead named webs and another based on Boa named boa. Both of them are affected by these vulnerabilities. Specifically, these binaries are vulnerable to the following issues: - stack buffer overflow in formRebootCheck due to unsafe copy of submit-url parameter - stack buffer overflow in formWsc due to unsafe copy of submit-url parameter - stack buffer overflow in formWlanMultipleAP due to unsafe copy of submit-url parameter - stack buffer overflow in formWlSiteSurvey due to unsafe copy of ifname parameter - stack buffer overflow in formStaticDHCP due to unsafe copy of hostname parameter - stack buffer overflow in formWsc due to unsafe copy of 'peerPin' parameter - arbitrary command execution in formSysCmd via the sysCmd parameter - arbitrary command injection in formWsc via the 'peerPin' parameter Exploitability of identified issues will differ based on what the end vendor/manufacturer did with the Realtek SDK webserver. Some vendors use it as-is, others add their own authentication implementation, some kept all the features from the server, some remove some of them, some inserted their own set of features. However, given that Realtek SDK implementation is full of insecure calls and that developers tends to re-use those examples in their custom code, any binary based on Realtek SDK webserver will probably contains its own set of issues on top of the Realtek ones (if kept). Successful exploitation of these issues allows remote attackers to gain arbitrary code execution on the device.

## CISA required action

Apply updates per vendor instructions.

## Affected vendors and products

- Realtek: AP-Router SDK

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2021-35395)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2021-35395)
- [https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain](https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain)
- [https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en](https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en)
- [https://www.realtek.com/images/safe-report/Realtek\_APRouter\_SDK\_Advisory-CVE-2021-35392\_35395.pdf](https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2021-35395 · Markdown: https://rewindex.com/cve/CVE-2021-35395.md · JSON: https://rewindex.com/api/v1/cves/CVE-2021-35395 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:16:35.467Z
