# CVE-2021-31802: NETGEAR R7000 1.0.11.116 devices have a heap-based Buffer Overflow that is exploitable from the local network without authentication.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:N/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): 14.2%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-26T12:02:32.000Z
- Modified: 2026-06-17T03:52:15.613Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

NETGEAR R7000 1.0.11.116 devices have a heap-based Buffer Overflow that is exploitable from the local network without authentication. The vulnerability exists within the handling of an HTTP request. An attacker can leverage this to execute code as root. The problem is that a user-provided length value is trusted during a backup.cgi file upload. The attacker must add a \n before the Content-Length header.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- netgear r7000_firmware: up to 1.0.11.116

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 8.3 High `AV:A/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://ssd-disclosure.com/ssd-advisory-netgear-nighthawk-r7000-httpd-preauth-rce/> (exploit, third-party-advisory)
- <https://www.netgear.com/about/security/> (vendor-advisory)

## Sources

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

---

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