Security Advisory

CVE-2022-42475: FortiOS SSL-VPN Heap Overflow (KEV)

Last updated:
  • CVE-2022-42475

CVE-2022-42475 is a heap-based buffer overflow in the FortiOS SSL-VPN that lets a remote attacker with no account run code on a FortiGate firewall. NVD scores it 9.8, and CISA has listed it as known exploited since 2022-12-13. Siemens lists it for the RUGGEDCOM APE1808 running FortiGate NGFW and fixes it with FortiGate V7.4.7.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

99.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2022-42475 · Source: NVD

Affected components

ComponentCPEVersion range
Fortinet FortiOS SSL-VPNcpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*7.2.0 to 7.2.2, 7.0.0 to 7.0.8, 6.4.0 to 6.4.10, 6.2.0 to 6.2.11, 6.0.0 to 6.0.15 and the 5.x branches; fixed in 7.2.3, 7.0.9, 6.4.11, 6.2.12 and 6.0.16 (Fortinet, CVE record)
Fortinet FortiProxy SSL-VPNcpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*7.2.0 to 7.2.1, 7.0.0 to 7.0.7, 2.0.0 to 2.0.11 and the 1.x branches; fixed in 7.2.2, 7.0.8 and 2.0.12 (Fortinet, CVE record)
Siemens RUGGEDCOM APE1808 with Fortinet FortiGate NGFW—All versions listed as affected; fixed by updating FortiGate NGFW to V7.4.7 through Siemens customer support (Siemens SSA-770770)

What does this mean for affected devices?

NVD carries the Fortinet 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." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-787 (out-of-bounds write). The Fortinet CNA classes it CWE-197 (numeric truncation error), and its CVE record shows 9.3 with a vector that includes temporal metrics (E:P/RL:U/RC:C). The record was published on 2023-01-02 (NVD, CVE record).

Is CVE-2022-42475 exploited?

Yes. CISA added it to the Known Exploited Vulnerabilities catalog on 2022-12-13 with a due date of 2023-01-03 for US federal agencies, and marks known use in ransomware campaigns. It is still listed as of 2026-11-21 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.99474, the 99.9th percentile, in the 2026-11-20 dataset (CISA KEV, FIRST EPSS).

In an April 2025 post, Fortinet described a threat actor that had used this flaw and two later SSL-VPN bugs to get into FortiGate devices, then left a symbolic link in the SSL-VPN language-file folder. That link kept read-only access to the file system, including configuration files, even after the device was patched. Fortinet says devices that never had SSL-VPN enabled are not affected by this persistence. FortiOS 7.6.2, 7.4.7, 7.2.11, 7.0.17 and 6.4.16 remove the link (Fortinet PSIRT blog).

Which devices are affected?

Product Affected Fixed
FortiOS 7.2.0 to 7.2.2, 7.0.0 to 7.0.8, 6.4.0 to 6.4.10, 6.2.0 to 6.2.11, 6.0.0 to 6.0.15, 5.x 7.2.3, 7.0.9, 6.4.11, 6.2.12, 6.0.16
FortiProxy 7.2.0 to 7.2.1, 7.0.0 to 7.0.7, 2.0.0 to 2.0.11, 1.x 7.2.2, 7.0.8, 2.0.12
Siemens RUGGEDCOM APE1808 with FortiGate NGFW listed as affected FortiGate NGFW V7.4.7

The fixed versions come from the solutions in Fortinet's CVE record. The industrial angle comes from Siemens: Siemens describes the RUGGEDCOM APE1808 as a utility-grade application hosting platform for edge computing and cybersecurity applications in harsh industrial environments, and Siemens SSA-770770 lists FortiOS vulnerabilities that affect it when FortiGate NGFW is installed. Siemens added CVE-2022-42475 to that advisory on 2025-05-13, together with CVE-2023-27997 and CVE-2024-21762. Siemens scores it 9.8 and uses CWE-197.

How do you fix or mitigate it?

On standalone FortiGate devices, update FortiOS to a fixed release. To also clear the symbolic-link persistence, move to one of the releases named in Fortinet's April 2025 post. On a RUGGEDCOM APE1808, Siemens tells customers to update FortiGate NGFW to V7.4.7 and to contact Siemens customer support to get the patch and update information. As a mitigation, SSA-770770 refers to the measures in Fortinet's post (Siemens SSA-770770 CSAF). If an SSL-VPN portal was reachable from the internet on a vulnerable version, Fortinet's advice is to treat the configuration as possibly compromised. Patching alone does not remove access that was already gained.

Our SCALANCE and RUGGEDCOM vulnerability guide lists the other third-party KEV entries that reach APE1808 deployments. The memory corruption fix guide covers this class of bug in device firmware.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD (read 2026-11-21): status Analyzed; published 2023-01-02; NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; Fortinet Secondary 9.8; CWE-787 (NVD), CWE-197 (Fortinet); CPE FortiOS 5.0.0 to 7.2.x and FortiProxy 1.0.0 to 7.2.x ranges; CISA KEV date 2022-12-13. — NVD
  • CVE record (checked 2026-11-21): state PUBLISHED, CNA Fortinet, published 2023-01-02; CNA CVSS v3.1 9.3 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C; CWE-197; solutions FortiOS 7.2.3, 7.0.9, 6.4.11, 6.2.12, 6.0.16, FortiProxy 7.2.2, 7.0.8, 2.0.12. — CVE.org
  • Siemens SSA-770770 version 9 (published 2025-02-11, updated 2026-03-10), read 2026-11-21: CVE-2022-42475 added 2025-05-13; RUGGEDCOM APE1808 affected; CVSS v3.1 9.8, CWE-197; remediation: update FortiGate NGFW to V7.4.7 and contact customer support for patch and update information; mitigation: refer to the Fortinet blog post on threat actor activity. — Siemens ProductCERT SSA-770770
  • Fortinet PSIRT blog 'Analysis of Threat Actor Activity' (2025-04-10), read 2026-11-21: a threat actor used FG-IR-22-398 and other known vulnerabilities, then left a symbolic link in the SSL-VPN language-file folder that kept read-only file access after patching; devices that never enabled SSL-VPN are not affected; FortiOS 7.6.2, 7.4.7, 7.2.11, 7.0.17 and 6.4.16 remove the link; treat configuration as potentially compromised. — Fortinet PSIRT blog
  • In the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-21: added 2022-12-13, due 2023-01-03, known ransomware campaign use Known, required action: apply updates per vendor instructions. — CISA KEV
  • EPSS 0.99474, percentile 0.99944, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2022-42475 (CNA: Fortinet)
  3. Siemens ProductCERT SSA-770770: Multiple Vulnerabilities in Fortigate NGFW Before V7.4.7 on RUGGEDCOM APE1808 Devices
  4. Siemens ProductCERT SSA-770770 (CSAF)
  5. Fortinet PSIRT blog: Analysis of Threat Actor Activity
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which FortiOS versions fix CVE-2022-42475?

FortiOS 7.2.3, 7.0.9, 6.4.11, 6.2.12 and 6.0.16, and FortiProxy 7.2.2, 7.0.8 and 2.0.12, according to the solutions in Fortinet's CVE record. To also remove the symbolic link that Fortinet found on compromised devices, Fortinet names FortiOS 7.6.2, 7.4.7, 7.2.11, 7.0.17 and 6.4.16.

Why does a Siemens industrial device need a FortiOS fix?

The RUGGEDCOM APE1808 is an application hosting platform that can run commercial firewall software such as FortiGate NGFW. Siemens SSA-770770 lists CVE-2022-42475 as affecting the APE1808 when it runs FortiGate. The fix is to update FortiGate NGFW to V7.4.7, and Siemens customer support supplies the patch and update information.

Is patching enough if the SSL-VPN was exposed?

Not always. Fortinet reported in April 2025 that an attacker who had used this flaw could leave a symbolic link behind that kept read-only access to files, including configurations, after the update. Upgrade to a release that removes the link, and treat the configuration as possibly compromised.

Is CVE-2022-42475 in the CISA KEV catalog?

Yes. CISA added it on 2022-12-13 and marks known ransomware campaign use. It is still listed in catalog version 2026.11.20 as of 2026-11-21, and FIRST EPSS gives it 0.99474 in the 2026-11-20 dataset.