draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2022-42475: Fortinet FortiOS Heap-Based Buffer Overflow Vulnerability

Exploited in attacksRansomware use

Yes. CVE-2022-42475 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 13 December 2022. It is known to have been used in ransomware campaigns. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 97.5%.

Exploited in real attacks
Yes. On CISA's exploited list since 13 December 2022
Used in ransomware
Yes, known ransomware use
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
97.5% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.3 Critical (version 3.1)
Affects
Fortinet FortiOS
Type of flaw
Execute unauthorized code or commands (CWE-197)
Published
2 January 2023
US federal patch deadline
3 January 2023

What it is

Multiple versions of Fortinet FortiOS SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute arbitrary code or commands via specifically crafted requests.

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.

Description from the CVE record.

Is CVE-2022-42475 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2022-42475 on 13 December 2022. That was on or before the day the CVE record was published, which usually means attackers were using it before defenders had a patch. CISA also marks it as known to be used in ransomware campaigns.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply updates per vendor instructions.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Fortinet FortiOS runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in FortiOS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Fortinet products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-61624Fortinet Multiple ProductsNo public exploit found1.3%14 April 2026
CVE-2026-104286Fortinet FortiMailPublic exploit48.4%1 October 2026
CVE-2025-25249Fortinet Multiple ProductsNo public exploit found3.7%13 January 2026
CVE-2025-68686Fortinet FortiOSNo public exploit found29.5%10 February 2026
CVE-2026-39808Fortinet FortiSandboxPublic exploit93.6%14 April 2026
CVE-2026-25089Fortinet FortiSandboxNo public exploit found76.7%9 June 2026

Sources

Machine-readable: /api/cve/CVE-2022-42475.json