CVE-2022-42475: Fortinet FortiOS Heap-Based Buffer Overflow Vulnerability
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
- Fortinet FortiProxy: 7.2.0 through 7.2.1; 7.0.0 through 7.0.7; 2.0.0 through 2.0.11; 1.2.0 through 1.2.13; 1.1.0 through 1.1.6; 1.0.0 through 1.0.7
- Fortinet FortiOS: 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.0 through 6.0.15; 5.6.0 through 5.6.14; 5.4.0 through 5.4.13; 5.2.0 through 5.2.15
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
- Find every copy. List each place Fortinet FortiOS runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- 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
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2025-61624 | Fortinet Multiple Products | No public exploit found | 1.3% | 14 April 2026 |
| CVE-2026-104286 | Fortinet FortiMail | Public exploit | 48.4% | 1 October 2026 |
| CVE-2025-25249 | Fortinet Multiple Products | No public exploit found | 3.7% | 13 January 2026 |
| CVE-2025-68686 | Fortinet FortiOS | No public exploit found | 29.5% | 10 February 2026 |
| CVE-2026-39808 | Fortinet FortiSandbox | Public exploit | 93.6% | 14 April 2026 |
| CVE-2026-25089 | Fortinet FortiSandbox | No public exploit found | 76.7% | 9 June 2026 |
Sources
- CVE record for CVE-2022-42475
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- fortiguard.com
Machine-readable: /api/cve/CVE-2022-42475.json