# CVE-2021-20038: SMA 100 Appliances Stack-Based Buffer Overflow

- Vendor: SonicWall, SonicWall SMA100
- Severity: CRITICAL (CVSS 3.1 9.8)
- Exploited (CISA KEV): yes, added 2022-01-28, known ransomware use
- EPSS: 99.9% on 2026-12-02
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: SNWLID-2021-0026, https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
- Published: 2021-12-08; updated: 2022-04-29
- Page: https://patchtonight.com/cve/CVE-2021-20038/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| SonicWall SMA100 10.2 | See the advisory |

## The vendor's description

A Stack-based buffer overflow vulnerability in SMA100 Apache httpd server's mod_cgi module environment variables allows a remote unauthenticated attacker to potentially execute code as a 'nobody' user in the appliance. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances firmware 10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24sv and earlier versions.

## Sources

- [SonicWall advisory](https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
