# CVE-2024-40764: Heap-based buffer overflow in SonicOS

- Vendor: SonicWall, SonicOS
- Severity: HIGH (CVSS 3.1 7.5)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-12-02
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: SNWLID-2024-0012, https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0012
- Published: 2024-07-18; updated: 2024-07-18
- Page: https://patchtonight.com/cve/CVE-2024-40764/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| SonicOS (Gen6, Gen7) 6.5 | See the advisory |
| SonicOS (Gen6, Gen7) 7.0 | See the advisory |
| SonicOS (Gen6, Gen7) 7.1 | See the advisory |

## The vendor's description

Heap-based buffer overflow vulnerability in the SonicOS IPSec VPN allows an unauthenticated remote attacker to cause Denial of Service (DoS).

## Sources

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

---

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.
