CVE-2021-34991: NETGEAR R6400v2 UPnP uuid Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Nov 15, 2021
·
Updated

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 1.0.4.10610.0.80 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the UPnP service, which listens on TCP port 5000 by default. When parsing the uuid request header, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-14110.

Other sources

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the UPnP service, which listens on TCP port 5000 by default. When parsing the uuid request header, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

Affected Software

89 affected components
Netgear R6400v2
Netgear Ex3700 Firmware<1.0.0.94
Netgear EX3700
Netgear Ex3800 Firmware<1.0.0.94
Netgear EX3800
Netgear Ex6120 Firmware<1.0.0.66
Netgear EX6120
Netgear Ex6130 Firmware<1.0.0.66
Netgear EX6130
Netgear R6400 Firmware<1.0.1.76
Netgear R6400
Netgear R6400v2 Firmware<1.0.4.120
Netgear R6400v2
Netgear R6700v3 Firmware<1.0.4.120
Netgear R6700v3
Netgear R6900p Firmware<1.3.3.142
Netgear R6900P
Netgear R7000 Firmware<1.0.11.128
Netgear R7000
Netgear R7000p Firmware<1.3.3.142
Netgear R7000P
Netgear R7100lg Firmware<1.0.0.72
Netgear R7100LG
Netgear R7850 Firmware<1.0.5.76
Netgear R7850
Netgear R7900p Firmware<1.4.2.84
Netgear R7900P
Netgear R7960p Firmware<1.4.2.84
Netgear R7960P
Netgear R8000 Firmware<1.0.4.76
Netgear R8000
Netgear R8000p Firmware<1.4.2.84
Netgear R8000P
Netgear R8300 Firmware<1.0.2.156
Netgear R8300
Netgear R8500 Firmware<1.0.2.156
Netgear R8500
Netgear Rax15 Firmware<1.0.4.100
Netgear RAX15
Netgear Rax20 Firmware<1.0.4.100
Netgear RAX20
Netgear Rax200 Firmware<1.0.5.132
Netgear RAX200
Netgear Rax35v2 Firmware<1.0.4.100
Netgear RAX35v2
Netgear Rax38v2 Firmware<1.0.4.100
Netgear Rax38v2
Netgear Rax40v2 Firmware<1.0.4.100
Netgear RAX40v2
Netgear Rax42 Firmware<1.0.4.100
Netgear RAX42
Netgear Rax43 Firmware<1.0.4.100
Netgear RAX43
Netgear Rax45 Firmware<1.0.4.100
Netgear RAX45
Netgear Rax48 Firmware<1.0.4.100
Netgear Rax48
Netgear Rax50 Firmware<1.0.4.100
Netgear RAX50
Netgear Rax50s Firmware<1.0.4.100
Netgear Rax50s
Netgear Rax75 Firmware<1.0.5.132
Netgear RAX75
Netgear Rax80 Firmware<1.0.5.132
Netgear RAX80
Netgear Raxe450 Firmware<1.0.8.70
Netgear RAXE450
Netgear Raxe500 Firmware<1.0.8.70
Netgear RAXE500
Netgear Rs400 Firmware<1.5.1.80
Netgear RS400
Netgear Wndr3400v3 Firmware<1.0.1.42
Netgear WNDR3400v3
Netgear Wnr3500lv2 Firmware<1.2.0.70
Netgear WNR3500Lv2
Netgear Xr300 Firmware<1.0.3.68
Netgear XR300
Netgear D6220 Firmware<1.0.0.76
Netgear D6220
Netgear D6400 Firmware<1.0.0.108
Netgear D6400
Netgear D7000v2 Firmware<1.0.0.76
Netgear D7000v2
Netgear Dgn2200v4 Firmware<1.0.0.126
Netgear DGN2200v4
Netgear Dc112a Firmware<1.0.0.62
Netgear DC112A
Netgear Cax80 Firmware<2.1.3.5
Netgear CAX80

Event History

Nov 15, 2021
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverityWeakness
Feb 2, 2025
Advisory Published
via ZDI·07:40 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-34991?

CVE-2021-34991 has been rated as critical due to its potential to allow arbitrary code execution without authentication.

2

How do I fix CVE-2021-34991?

To fix CVE-2021-34991, update the firmware of the affected NETGEAR R6400v2 routers to version 1.0.4.120 or later.

3

Which devices are affected by CVE-2021-34991?

CVE-2021-34991 affects NETGEAR R6400v2 routers running firmware version 1.0.4.106_10.0.80.

4

Can CVE-2021-34991 be exploited remotely?

Yes, CVE-2021-34991 can be exploited remotely by network-adjacent attackers without requiring authentication.

5

Is my NETGEAR R6400v2 router vulnerable to CVE-2021-34991?

If your NETGEAR R6400v2 router is running firmware version 1.0.4.106_10.0.80 or older, it is vulnerable to CVE-2021-34991.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203