CVE-2022-42475: Fortinet FortiOS Heap-Based Buffer Overflow Vulnerability
CVE-2022-42475 is a critical-severity flaw (CVSS 9.8) affecting fortios, fortiproxy, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Published CVE record published
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: scrt/cve-2022-42475 (108 stars)
- GitHub PoC: 0xhaggis/CVE-2022-42475 (33 stars)
- GitHub PoC: P4x1s/CVE-2022-42475-RCE-POC (8 stars)
- GitHub PoC: 3yujw7njai/CVE-2022-42475-RCE-POC
Advisories and coverage
Official advisories
- CERT.at Austria: Multiple FortiGate devices compromised with a persistent read-only access 2025-04-16
- IPA Japan Security Alerts: 更新:FortiOS SSL-VPN の脆弱性対策について(CVE-2022-42475) 2022-12-13
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-42475?
fortios: upgrade to 6.0.15, 6.0.16, 6.2.12, 6.4.10, 6.4.11, 7.0.8, 7.0.9, 7.2.3; fortiproxy: upgrade to 2.0.12, 7.0.8, 7.2.2. Exact commands for each OS are on this page.
Is CVE-2022-42475 being exploited?
Yes. CVE-2022-42475 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-42475 affect?
CVE-2022-42475 affects fortios, fortiproxy. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2022-42475?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Fortinet FortiOS vulnerabilities · Fortinet vulnerabilities
Related CVEs
- CVE-2026-71408 MEDIUM 5.3 UPGRADE A allocation of resources without limits or throttling vulnerability in Fortinet FortiOS 7.6.0 through 7.6.6,
- CVE-2026-59837 MEDIUM 6.6 UPGRADE UPGRADE A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.4.0 through 7.4.1, FortiOS 7.2 all versions,
- CVE-2023-46718 MEDIUM 6.7 UPGRADE UPGRADE A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.
- CVE-2024-50571 HIGH 7.2 UPGRADE UPGRADE A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.2, FortiAnalyzer 7.4.0
- CVE-2024-47569 MEDIUM 4.3 UPGRADE UPGRADE A insertion of sensitive information into sent data vulnerability in Fortinet FortiMail 7.4.0 through 7.4.2, F