# CVE-2021-40556: A stack overflow vulnerability exists in the httpd service in ASUS RT-AX56U Router Version 3.0.0.4.386.44266.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.67%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-06T00:00:00.000Z
- Modified: 2026-06-17T04:07:07.530Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

A stack overflow vulnerability exists in the httpd service in ASUS RT-AX56U Router Version 3.0.0.4.386.44266. This vulnerability is caused by the strcat function called by "caupload" input handle function allowing the user to enter 0xFFFF bytes into the stack. This vulnerability allows an attacker to execute commands remotely. The vulnerability requires authentication.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- asus rt-ax56u_firmware: 3.0.0.4.386.44266

## References

- <https://x1ng.top/2021/10/14/ASUS%E6%A0%88%E6%BA%A2%E5%87%BA%E6%BC%8F%E6%B4%9E%E5%88%86%E6%9E%90/> (exploit, third-party-advisory)
- <https://www.asus.com/tw/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RT-AX56U/HelpDesk_BIOS/> (product, vendor-advisory)

## Sources

- CVE List: [CVE-2021-40556](https://www.cve.org/CVERecord?id=CVE-2021-40556), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-40556](https://nvd.nist.gov/vuln/detail/CVE-2021-40556), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40556 · Whole record: https://cve.day/CVE-2021-40556.json · Rebuilt by cve.day 2026-11-25T22:58:07.840Z
