Security Advisory

CVE-2022-20699: Cisco RV340 SSL VPN Pre-Auth RCE

Last updated:
  • CVE-2022-20699

CVE-2022-20699 is a stack-based buffer overflow in the SSL VPN module of Cisco Small Business RV340, RV340W, RV345 and RV345P routers: an attacker who needs no login sends crafted HTTP requests to the VPN gateway and runs code as root. Firmware 1.0.03.26 fixes it, NVD scores it 9.8, and CISA lists it as exploited.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

72.6%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2022-20699 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco Small Business RV340 firmwarecpe:2.3:o:cisco:rv340_firmware:*:*:*:*:*:*:*:*1.0.03.24 and earlier (Cisco advisory cisco-sa-smb-mult-vuln-KA9PK6D); fixed in 1.0.03.26. End of life: last date of support 2026-10-31
Cisco Small Business RV340W firmwarecpe:2.3:o:cisco:rv340w_firmware:*:*:*:*:*:*:*:*1.0.03.24 and earlier (Cisco advisory cisco-sa-smb-mult-vuln-KA9PK6D); fixed in 1.0.03.26. End of life: last date of support 2026-09-30
Cisco Small Business RV345 firmwarecpe:2.3:o:cisco:rv345_firmware:*:*:*:*:*:*:*:*1.0.03.24 and earlier (Cisco advisory cisco-sa-smb-mult-vuln-KA9PK6D); fixed in 1.0.03.26. End of life: last date of support 2026-10-31
Cisco Small Business RV345P firmwarecpe:2.3:o:cisco:rv345p_firmware:*:*:*:*:*:*:*:*1.0.03.24 and earlier (Cisco advisory cisco-sa-smb-mult-vuln-KA9PK6D); fixed in 1.0.03.26. End of life: last date of support 2026-09-30

What does this mean for affected devices?

Cisco's advisory cisco-sa-smb-mult-vuln-KA9PK6D describes CVE-2022-20699 as a vulnerability in the SSL VPN module of the Cisco Small Business RV340, RV340W, RV345 and RV345P Dual WAN Gigabit VPN Routers that "could allow an unauthenticated, remote attacker to execute arbitrary code". It is caused by insufficient boundary checks when processing specific HTTP requests sent to a router acting as an SSL VPN gateway, and the code runs with root privileges. 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), with NVD CVSS v2 10.0. Cisco, the CNA, scores it 10.0 Critical with a changed scope (S:C). Cisco lists CWE-121 (stack-based buffer overflow), NVD CWE-1284 and the KEV entry CWE-785 (NVD, CVE record).

Which Cisco routers are affected?

Only the RV340, RV340W, RV345 and RV345P run the vulnerable SSL VPN module; the RV160 and RV260 Series are not listed for this CVE. Affected releases are 1.0.03.24 and earlier, matching NVD's CPE configuration. Zero Day Initiative advisory ZDI-22-414, from Pwn2Own, says the SSL VPN service listens on TCP port 8443 by default and that the bug is a stack-based buffer overflow from copying user-supplied data without a length check; it credits the Flashback Team (Pedro Ribeiro and Radek Domanski). An SSL VPN gateway exists to accept connections from remote users, so on a router that uses it the vulnerable service faces the internet. The same advisory covers the RV340 command injection CVE-2022-20708 and the privilege escalation CVE-2022-20700.

How do you fix CVE-2022-20699?

The fixed releases are RV340 and RV345 Series firmware 1.0.03.26; the advisory lists 1.0.03.24 and earlier as affected. Cisco lists no workaround. All four routers are now end of life: Cisco's RV340 and RV345 Series end-of-life notice gives an end of vulnerability and security support of 2022-10-28 and a last date of support of 2026-10-31, and the notice for the RV160, RV260, RV340W, RV345P and their variants gives 2022-09-15 and 2026-09-30. Neither notice names a replacement product. Cisco's RV series support page shows the series status as End of Support, with an end-of-support date of 2026-10-31 (checked 2026-11-25). Update any router still in service to the fixed release, keep its management and VPN services off untrusted networks, and replace it. If the SSL VPN gateway is not needed, turn it off. For the code-level fix of this class, see how to fix memory corruption in embedded firmware.

Is CVE-2022-20699 exploited?

Yes. Cisco's advisory, last revised 2022-02-14, says its PSIRT is aware that proof-of-concept exploit code is available for several of the vulnerabilities it covers. CISA added CVE-2022-20699 to the KEV catalog on 2022-03-03 with a due date of 2022-03-17 and the action "Apply updates per vendor instructions"; known ransomware campaign use is "Unknown" as of 2026-11-25 (catalog version 2026.11.24). FIRST EPSS gives it 0.72647, the 99.452nd percentile, in the 2026-11-24 dataset (CISA KEV, FIRST EPSS).

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 Primary CVSS v3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), NVD CVSS v2 10.0, NVD CWE-1284; Cisco CVSS v3.1 10.0, CWE-121; CPE RV340/RV340W/RV345/RV345P up to 1.0.03.24. — NVD
  • SSL VPN module of RV340, RV340W, RV345, RV345P; unauthenticated remote code execution as root; affected 1.0.03.24 and earlier, fixed 1.0.03.26; no workarounds; PoC code available for several of the vulnerabilities. — Cisco Security Advisory cisco-sa-smb-mult-vuln-KA9PK6D
  • SSL VPN service listens on TCP 8443 by default; stack-based buffer overflow; Pwn2Own entry by the Flashback Team. — ZDI-22-414
  • RV340/RV345 end of vulnerability/security support 2022-10-28, last date of support 2026-10-31; RV160/RV260/RV340W/RV345P 2022-09-15 and 2026-09-30; no replacement named. — Cisco end-of-life notices
  • In CISA KEV since 2022-03-03, due 2022-03-17, ransomware use Unknown, as of 2026-11-25 (catalog version 2026.11.24). — CISA KEV
  • EPSS 0.72647, 99.452nd percentile, in the 2026-11-24 dataset. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory cisco-sa-smb-mult-vuln-KA9PK6D: Cisco Small Business RV Series Routers Vulnerabilities
  3. Cisco CSAF: cisco-sa-smb-mult-vuln-KA9PK6D (machine-readable advisory)
  4. Zero Day Initiative ZDI-22-414: Cisco RV340 SSLVPN Stack-based Buffer Overflow Remote Code Execution Vulnerability
  5. Cisco End-of-Sale and End-of-Life Announcement for the Cisco Small Business RV340 and RV345 Series
  6. Cisco End-of-Sale and End-of-Life Announcement for the Cisco RV 160, RV260, RV345P, RV340W, RV260W, RV260P and RV160W VPN Router
  7. Cisco Small Business RV Series Routers support page
  8. CVE.org record CVE-2022-20699 (CNA: Cisco)
  9. CISA KEV
  10. FIRST EPSS

Frequently asked questions

Which firmware fixes CVE-2022-20699?

RV340, RV340W, RV345 and RV345P firmware 1.0.03.26. Releases 1.0.03.24 and earlier are affected, and there is no workaround (per Cisco advisory cisco-sa-smb-mult-vuln-KA9PK6D).

Is a router exposed if the SSL VPN is not used?

The flaw is in requests handled by a router acting as an SSL VPN gateway, so a router with the SSL VPN service enabled is the exposed case. ZDI says the service listens on TCP 8443 by default. Updating is still required, because the same firmware carries other KEV-listed bugs from the same advisory (per Cisco and ZDI-22-414).

Are the RV340 and RV345 still supported?

No. Cisco's end-of-life notices give an end of vulnerability and security support of 2022-10-28 (RV340, RV345) and 2022-09-15 (RV340W, RV345P), and last dates of support of 2026-10-31 and 2026-09-30; no replacement product is named (per Cisco).

Is CVE-2022-20699 exploited?

Yes. CISA has listed it in KEV since 2022-03-03, with ransomware use marked Unknown as of 2026-11-25 (catalog version 2026.11.24). FIRST EPSS gives it 0.72647, the 99.452nd percentile, in the 2026-11-24 dataset.