CVE-2022-42475: Unauthenticated remote code execution in Fortinet SSL-VPN
- Vendor
- Fortinet
CVE-2022-42475 is a heap-based buffer overflow in the sslvpnd SSL-VPN service of Fortinet FortiOS, FortiOS-6K7K, and FortiProxy. A remote unauthenticated attacker can trigger the vulnerability using specially crafted requests to execute arbitrary code or commands on an affected appliance. Affected versions include FortiOS 7.2.0–7.2.2, 7.0.0–7.0.8, 6.4.0–6.4.10, 6.2.0–6.2.11, and 6.0.15 and earlier; and FortiProxy 7.2.0–7.2.1 and 7.0.7 and earlier. Exploitation may also crash the SSL-VPN service. The vulnerability has been exploited in the wild, including before public disclosure.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise an affected firewall or proxy appliance through unauthenticated code or command execution and may disrupt SSL-VPN availability. Appliance compromise can enable malware deployment, configuration and credential theft, persistent access, and subsequent lateral movement into connected networks. Documented exploitation has supported cyberespionage and ransomware-related activity. Post-exploitation persistence, including malware and malicious symbolic links permitting access to device files, can survive installation of patches that close the original vulnerability; patching alone does not establish that a previously compromised appliance is trustworthy.
Mitigation
If you can’t patch tonight, do this now.
Disable SSL-VPN until fixed firmware can be installed. Reduce network reachability to exposed appliance services and use segmentation to limit downstream access. Review Fortinet's compromise indicators, appliance integrity, unexpected outbound connections, and repeated sslvpnd crashes, including Signal 11 events. Absence of known indicators does not establish that an appliance is uncompromised, and disabling SSL-VPN does not remove persistence already installed by an attacker.
Remediation
Patch, then assume compromise.
Install the applicable fixed firmware identified in Fortinet advisory FG-IR-22-398, following Fortinet's supported upgrade path. Migrate branches without a fixed release to a supported, corrected branch. The FortiOS-6K7K 7.0 guidance inconsistently lists 7.0.8 as both affected and a recommended upgrade target; confirm the correct fixed release with Fortinet before relying on that version. Investigate potentially exposed appliances for compromise alongside patching. For confirmed compromise, isolate the appliance, preserve forensic evidence, remove established persistence with vendor or incident-response assistance, rotate configured and potentially exposed authentication secrets and certificates, and investigate connected systems for lateral movement.
Exploits
6 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-42475 exploited in the wild?
- Yes. As of Nov 20, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Dec 13, 2022.
- Is there a public exploit for CVE-2022-42475?
- Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2022-42475, the earliest disclosed Feb 23, 2023.
- Is there a patch for CVE-2022-42475?
- Install the applicable fixed firmware identified in Fortinet advisory FG-IR-22-398, following Fortinet's supported upgrade path. Migrate branches without a fixed release to a supported, corrected branch.
- What products are affected by CVE-2022-42475?
- Fortinet Fortios and Fortinet Fortiproxy.
- How severe is CVE-2022-42475?
- CVE-2022-42475 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.5% (100th percentile) as of Nov 20, 2026.
Recent activity
83 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.