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

Critical severity, CVSS 9.8. Actively exploited: in CISA KEV since 2022-12-13. EPSS: 62% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2023-01-03): Apply updates per vendor instructions.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Fortinet FortiOS, from 6.0.0, before 6.0.16: fixed in 6.0.16
  • Fortinet FortiOS, from 6.2.0, before 6.2.12: fixed in 6.2.12
  • Fortinet FortiOS, from 6.4.0, before 6.4.11: fixed in 6.4.11
  • Fortinet FortiOS, from 7.0.0, before 7.0.9: fixed in 7.0.9
  • Fortinet FortiOS, from 7.2.0, before 7.2.3: fixed in 7.2.3
  • Fortinet FortiOS, from 6.0.0, before 6.0.15: fixed in 6.0.15
  • Fortinet FortiOS, from 6.4.0, before 6.4.10: fixed in 6.4.10
  • Fortinet FortiOS, from 7.0.0, before 7.0.8: fixed in 7.0.8
  • Fortinet FortiProxy, from 2.0.0, before 2.0.12: fixed in 2.0.12
  • Fortinet FortiProxy, from 7.0.0, before 7.0.8: fixed in 7.0.8
  • and 1 more

Affected products

  • Fortinet FortiOS: from 5.0.0, up to and including 5.0.14; from 5.2.0, up to and including 5.2.15; from 5.4.0, up to and including 5.4.13; from 5.6.0, up to and including 5.6.14; from 6.0.0, before 6.0.16 (fixed in 6.0.16); from 6.2.0, before 6.2.12 (fixed in 6.2.12); …
  • Fortinet FortiProxy: from 1.0.0, up to and including 1.0.7; from 1.1.0, up to and including 1.1.6; from 1.2.0, up to and including 1.2.13; from 2.0.0, before 2.0.12 (fixed in 2.0.12); from 7.0.0, before 7.0.8 (fixed in 7.0.8); from 7.2.0, before 7.2.2 (fixed in 7.2.2)

Published 2023-01-02. Last modified 2026-06-17.