# CVE-2022-42475: FortiOS Heap-Based Buffer Overflow

- Vendor: Fortinet, FortiOS, FortiProxy
- Severity: CRITICAL (CVSS 3.1 9.3)
- Exploited (CISA KEV): yes, added 2022-12-13, known ransomware use
- EPSS: 99.5% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-22-398, https://fortiguard.com/psirt/FG-IR-22-398
- Published: 2023-01-02; updated: 2023-01-02
- Page: https://patchtonight.com/cve/CVE-2022-42475/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiProxy 7.2.0 to 7.2.1 | 7.2.2 or later |
| FortiProxy 7.0.0 to 7.0.7 | 7.0.8 or later |
| FortiProxy 2.0.0 to 2.0.11 | 2.0.12 (upcoming) or later |
| FortiProxy 1.2.0 to 1.2.13 | Upgrade past 1.2.13; see the advisory |
| FortiProxy 1.1.0 to 1.1.6 | Upgrade past 1.1.6; see the advisory |
| FortiProxy 1.0.0 to 1.0.7 | Upgrade past 1.0.7; see the advisory |
| FortiOS 7.2.0 to 7.2.2 | 7.2.3 or later |
| FortiOS 7.0.0 to 7.0.8 | 7.0.9 or later |
| FortiOS 6.4.0 to 6.4.10 | 6.4.11 or later |
| FortiOS 6.2.0 to 6.2.11 | 6.2.12 or later |
| FortiOS 6.0.0 to 6.0.15 | 6.0.16 or later |
| FortiOS 5.6.0 to 5.6.14 | Upgrade past 5.6.14; see the advisory |
| FortiOS 5.4.0 to 5.4.13 | Upgrade past 5.4.13; see the advisory |
| FortiOS 5.2.0 to 5.2.15 | Upgrade past 5.2.15; see the advisory |
| FortiOS 5.0.0 to 5.0.14 | Upgrade past 5.0.14; see the advisory |

## The vendor's description

A heap-based buffer overflow vulnerability [CWE-122] in FortiOS SSL-VPN 7.2.0 through 7.2.2, 7.0.0 through 7.0.8, 6.4.0 through 6.4.10, 6.2.0 through 6.2.11, 6.0.15 and earlier  and FortiProxy SSL-VPN 7.2.0 through 7.2.1, 7.0.7 and earlier may allow a remote unauthenticated attacker to execute arbitrary code or commands via specifically crafted requests.

## Sources

- [Fortinet advisory](https://fortiguard.com/psirt/FG-IR-22-398)

---

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.
