← Vulnerability feed

Vulnerability record · CVE-2022-42475 · published 2 January 2023

CVE-2022-42475: FortiOS and FortiProxy SSL-VPN heap buffer overflow allows remote code execution

Fortinet · Fortios

A heap-based buffer overflow (CWE-122/CWE-787) in the FortiOS and FortiProxy SSL-VPN component lets a remote attacker trigger memory corruption through specifically crafted requests. Because it is reachable without authentication and can lead to arbitrary code or command execution, it is a severe pre-auth flaw in internet-facing VPN infrastructure.

9.8 CVSS 3.1 Critical CISA KEV since 13 Dec 2022 Known ransomware use EPSS 99% · top 0.1% CWE-197 · CWE-197CWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score
99%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
2Affected product versions listed by NVD
3References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution in internet-facing VPN appliances, with KEV listing, known ransomware use, and near-maximum EPSS.

What it is

A heap-based buffer overflow (CWE-122/CWE-787) in the FortiOS and FortiProxy SSL-VPN component lets a remote attacker trigger memory corruption through specifically crafted requests. Because it is reachable without authentication and can lead to arbitrary code or command execution, it is a severe pre-auth flaw in internet-facing VPN infrastructure.

Impact

An unauthenticated attacker can execute arbitrary code or commands on the affected device, potentially gaining full control of the appliance and any trust relationships or credentials it holds.

Attack surface

The flaw is reached over the network through the SSL-VPN service; the CVSS vector shows no privileges required and no user interaction, so any host that can reach the SSL-VPN portal can attempt exploitation.

Exploitation

It is listed in CISA KEV with known ransomware campaign use, and EPSS is near 1.0 (0.99474, 99.9th percentile), indicating active, widespread exploitation. Vendor references are tagged Exploit and Mitigation.

What to do

  • Apply the Fortinet updates specified in FG-IR-22-398 for the affected FortiOS and FortiProxy branches.
  • If immediate patching is not possible, disable SSL-VPN or restrict access to trusted management networks per vendor guidance.
  • Rotate credentials and certificates stored or used on affected appliances after patching, treating them as potentially compromised.
  • Monitor for and investigate any signs of prior compromise, since exploitation predates the public advisory.
  • Track CISA KEV remediation deadlines and confirm all internet-facing instances are updated.

Detection

  • Review SSL-VPN and system logs for crashes, unexpected restarts, or anomalous process behavior on FortiGate/FortiProxy devices.
  • Hunt for unusual outbound connections, new local accounts, or configuration changes on the appliance following SSL-VPN activity.
  • Search for known exploitation indicators and IOCs published by Fortinet and CISA for this CVE.
  • Alert on abnormal request patterns or payloads targeting the SSL-VPN endpoint.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2022-42475 to the Known Exploited Vulnerabilities catalog on 13 December 2022 as "Fortinet FortiOS Heap-Based Buffer Overflow Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 3 January 2023.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-42475 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-24858Fortinet FortiCloud SSO authentication bypass across registered devicesA CWE-288 authentication bypass in Fortinet FortiAnalyzer, FortiManager, FortiNAC-F, FortiOS, FortiProxy and FortiWeb lets an attacker with a FortiCl…KEVEPSS 86%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed9.8CVE-2025-59718Fortinet FortiOS/FortiProxy SAML signature check bypass in FortiCloud SSOFortiOS, FortiProxy and FortiSwitchManager fail to properly verify the cryptographic signature of SAML responses used for FortiCloud SSO login. An un…KEVEPSS 68%analysed9.8CVE-2024-55591FortiOS and FortiProxy authentication bypass via Node.js websocketFortiOS 7.0.0 through 7.0.16 and FortiProxy 7.0.0 through 7.0.19 and 7.2.0 through 7.2.12 contain an authentication bypass (CWE-288) reachable throug…KEVEPSS 94%analysed9.8CVE-2024-23113Fortinet FortiOS and related products format string remote code executionA use of externally-controlled format string (CWE-134) in Fortinet FortiOS, FortiProxy, FortiPAM and FortiSwitchManager lets an attacker execute unau…KEVEPSS 62%analysed9.8CVE-2024-21762Fortinet FortiOS and FortiProxy out-of-bounds write in SSL VPNFortiOS and FortiProxy contain an out-of-bounds write (CWE-787) reachable through specifically crafted requests. The flaw affects a wide range of For…KEVEPSS 83%analysed9.8CVE-2023-27997Fortinet FortiOS and FortiProxy SSL-VPN heap buffer overflowFortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow (CWE-122/CWE-787) reachable through specifically crafted requests. It is a pre-au…KEVEPSS 86%analysed9.8CVE-2022-40684Fortinet FortiOS, FortiProxy and FortiSwitchManager admin interface auth bypassAn authentication bypass (CWE-288, alternate path or channel) in Fortinet FortiOS 7.2.0-7.2.1 and 7.0.0-7.0.6, FortiProxy 7.2.0 and 7.0.0-7.0.6, and …KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2022-42475), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.