Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEUPGRADEUPGRADE

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.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance99.5% (top 1%)
CISA exploited listYes, fix due 2023-01-03, used in ransomware
WeaknessCWE-197, CWE-787
Published2023-01-02
Last modified2026-06-17
Publisher (CNA): Fortinet, Inc. · Vendor: fortinet

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fortinet fortios UPGRADE
Affected: >= 5.0.0 and <= 5.0.14 · >= 5.2.0 and <= 5.2.15 · >= 5.4.0 and <= 5.4.13 · >= 5.6.0 and <= 5.6.14 · >= 6.0.0 and < 6.0.16 · >= 6.2.0 and < 6.2.12 · >= 6.4.0 and < 6.4.11 · >= 7.0.0 and < 7.0.9
Fixed in: 6.0.15, 6.0.16, 6.2.12, 6.4.10, 6.4.11, 7.0.8, 7.0.9, 7.2.3
Safe to downgrade to: a release before 5.0.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
fortinet fortiproxy UPGRADE
Affected: >= 1.0.0 and <= 1.0.7 · >= 1.1.0 and <= 1.1.6 · >= 1.2.0 and <= 1.2.13 · >= 2.0.0 and < 2.0.12 · >= 7.0.0 and < 7.0.8 · >= 7.2.0 and < 7.2.2
Fixed in: 2.0.12, 7.0.8, 7.2.2
Safe to downgrade to: a release before 1.0.0
1. Check installed version
apt-cache policy fortiproxy || rpm -q fortiproxy || fortiproxy --version
2. UPGRADE to 2.0.12 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortiproxy
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortiproxy
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.0.0 (Debian / Ubuntu)
apt-cache madison fortiproxy sudo apt install fortiproxy=<VERSION_BEFORE_1.0.0> sudo apt-mark hold fortiproxy
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list fortiproxy sudo dnf downgrade fortiproxy-<VERSION_BEFORE_1.0.0> sudo dnf versionlock add fortiproxy
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora ELN · python-wrapt · FIXED · 2.5.2-1.eln159 · FEDORA-2026-5503ee9370 · source
sudo dnf upgrade --advisory=FEDORA-2026-5503ee9370
Fedora 46 · python-wrapt · FIXED · 2.5.2-1.fc46 · FEDORA-2026-8a83579801 · source
sudo dnf upgrade --advisory=FEDORA-2026-8a83579801

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Advisories and coverage

Official advisories

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.