Security Advisory

CVE-2020-5135: SonicOS Buffer Overflow (KEV)

Last updated:
  • CVE-2020-5135

CVE-2020-5135 is a buffer overflow in SonicWall SonicOS: an unauthenticated request to the firewall can crash it and potentially run code. NVD scores it 9.8 and CISA KEV lists it with known ransomware use. SonicWall fixed it in Gen 6 builds 6.5.4.7-83n, 6.5.1.12-1n and 6.0.5.3-94o and in SonicOSv 6.5.4.v-21s-987.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

26.9%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2020-5135 · Source: NVD (Primary CVSS v3.1)

Affected components

ComponentCPEVersion range
SonicWall SonicOS (Gen 6 firewalls)cpe:2.3:o:sonicwall:sonicos:*:*:*:*:*:*:*:*6.5.4.6-79n and earlier (fixed in 6.5.4.7-83n), 6.5.1.11-4n and earlier (fixed in 6.5.1.12-1n), 6.0.5.3-93o and earlier (fixed in 6.0.5.3-94o), per SonicWall SNWLID-2020-0010
SonicWall SonicOSv (virtual firewall)cpe:2.3:o:sonicwall:sonicosv:*:*:*:*:*:*:*:*6.5.4.4-44v-21-794 and earlier (fixed in 6.5.4.v-21s-987), per SonicWall SNWLID-2020-0010

What does this mean for affected devices?

NVD describes CVE-2020-5135 as "a buffer overflow vulnerability in SonicOS" that "allows a remote attacker to cause Denial of Service (DoS) and potentially execute arbitrary code by sending a malicious request to the firewall". 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 a CVSS v2 score of 7.5 and CWE-120; CISA-ADP also gives 9.8. SonicWall's own advisory scores it 9.4 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H) (NVD, CVE record).

Which SonicOS firmware is affected?

SonicWall's advisory SNWLID-2020-0010 lists SonicOS 6.5.4.6-79n and earlier, 6.5.1.11-4n and earlier, 6.0.5.3-93o and earlier, and SonicOSv 6.5.4.4-44v-21-794 and earlier. Revision 1.2 of 2020-10-20 removed the Gen 7 versions "since all released versions of Gen 7 SonicOS were already patched". The CVE record and NVD's CPE configuration still name SonicOS 7.0.0.0, so a scanner may flag a Gen 7 box that SonicWall no longer counts as affected. SonicWall credits Nikita Abramov of Positive Technologies and Craig Young of Tripwire.

Which firmware fixes it?

SonicWall names 6.5.4.7-83n, 6.5.1.12-1n, 6.0.5.3-94o and SonicOSv 6.5.4.v-21s-987 as the fixed builds. Check the full build string on each appliance, not just the first three digits: NVD's ranges end at 6.5.4.7 and 6.5.1.11 without build suffixes. Because the flaw sits in a service reachable from the network, keep management and VPN services off the internet where you can; see CISA BOD 23-02 and internet-exposed management interfaces. The class fix is in how to fix memory corruption in embedded firmware.

Is CVE-2020-5135 exploited?

Yes. CISA added it to the KEV catalog on 2022-03-15 with the required action "Apply updates per vendor instructions." (due 2022-04-05) and records known ransomware campaign use; it is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.26869, the 98.07th percentile, in the 2026-11-24 dataset (FIRST EPSS). Later exploited SonicOS flaws are the access-control bug CVE-2024-40766 and the SSLVPN authentication bypass CVE-2024-53704.

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 (Analyzed, published 2020-10-12): buffer overflow in SonicOS, remote DoS and potentially arbitrary code via malicious request; Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; Primary CVSS v2 7.5; CISA-ADP Secondary 9.8; CWE-120 (NVD and SonicWall); CPE sonicos <= 6.0.5.3, 6.5.0.0-6.5.1.11, 6.5.4.0-6.5.4.7, 7.0.0.0, sonicosv <= 6.5.4.4; read 2026-11-25. — NVD
  • SonicWall SNWLID-2020-0010 (published 2020-10-12, updated 2020-10-20, read via the PSIRT site API 2026-11-25): CVSS 9.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H, CWE-120; affected 6.5.4.6-79n, 6.5.1.11-4n, 6.0.5.3-93o, SonicOSv 6.5.4.4-44v-21-794 and earlier; fixed 6.5.4.7-83n, 6.5.1.12-1n, 6.0.5.3-94o, SonicOSv 6.5.4.v-21s-987; v1.2 removed Gen 7 versions since all released Gen 7 versions were already patched; credits Nikita Abramov (Positive Technologies), Craig Young (Tripwire). — SonicWall PSIRT SNWLID-2020-0010
  • CVE record: PUBLISHED, CNA SonicWall, published 2020-10-12; affected entries include SonicOS 7.0.0.0-1; CISA-ADP CVSS 3.1 9.8, SSVC exploitation active. — CVE.org
  • KEV catalog 2026.11.24: dateAdded 2022-03-15, due 2022-04-05, required action "Apply updates per vendor instructions.", knownRansomwareCampaignUse Known, CWE-120; checked 2026-11-25. — CISA KEV
  • EPSS 0.26869, percentile 0.98065, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. SonicWall PSIRT advisory SNWLID-2020-0010
  3. CVE.org record CVE-2020-5135 (CNA: SonicWall)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which SonicWall firmware fixes CVE-2020-5135?

SonicWall names SonicOS 6.5.4.7-83n, 6.5.1.12-1n and 6.0.5.3-94o for Gen 6 firewalls and SonicOSv 6.5.4.v-21s-987 for the virtual firewall. Builds 6.5.4.6-79n, 6.5.1.11-4n, 6.0.5.3-93o and SonicOSv 6.5.4.4-44v-21-794 and earlier are affected (per SonicWall SNWLID-2020-0010).

Are Gen 7 SonicWall firewalls affected by CVE-2020-5135?

SonicWall removed Gen 7 from its advisory on 2020-10-20 because all released Gen 7 SonicOS versions were already patched. The CVE record and NVD still list SonicOS 7.0.0.0, so a version scanner may still report it on Gen 7 (per SonicWall SNWLID-2020-0010 and NVD).

Is CVE-2020-5135 used by ransomware groups?

CISA KEV marks known ransomware campaign use for CVE-2020-5135. CISA added it on 2022-03-15 with the action to apply vendor updates; it is listed in catalog version 2026.11.24 (per CISA KEV, as of 2026-11-25).

How severe is CVE-2020-5135?

NVD gives a Primary CVSS v3.1 score of 9.8 (critical); SonicWall scores it 9.4. FIRST EPSS gives 0.26869, the 98.07th percentile, in the 2026-11-24 dataset (per NVD, SonicWall and FIRST EPSS, as of 2026-11-25).