CVE-2022-42475

Fortinet FortiOS Heap-Based Buffer Overflow Vulnerability

Published 2 Jan 2023 Updated 21 Oct 2025 CNA: fortinet

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 13 Dec 2022. US federal agencies had to act by 3 Jan 2023.

Name
Fortinet FortiOS Heap-Based Buffer Overflow Vulnerability
Required action
Apply updates per vendor instructions.
Ransomware
Known to be used in ransomware campaigns
Notes
https://www.fortiguard.com/psirt/FG-IR-22-398 https://nvd.nist.gov/vuln/detail/CVE-2022-42475

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.

Severity (CVSS)

9.3 critical CVSS 3.1 from fortinet (CNA)
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
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 97.4%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 Oct 2024):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
FortiProxy
affected from 7.2.0 up to and including 7.2.1
affected from 7.0.0 up to and including 7.0.7
affected from 2.0.0 up to and including 2.0.11
affected from 1.2.0 up to and including 1.2.13
affected from 1.1.0 up to and including 1.1.6
affected from 1.0.0 up to and including 1.0.7
Other versions: unaffected
FortiOS
affected from 7.2.0 up to and including 7.2.2
affected from 7.0.0 up to and including 7.0.8
affected from 6.4.0 up to and including 6.4.10
affected from 6.2.0 up to and including 6.2.11
affected from 6.0.0 up to and including 6.0.15
affected from 5.6.0 up to and including 5.6.14
affected from 5.4.0 up to and including 5.4.13
affected from 5.2.0 up to and including 5.2.15
affected from 5.0.0 up to and including 5.0.14
Other versions: unaffected

Is my server affected?

This CVE is in FortiProxy of Fortinet, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2022-42475 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.