Cyber Resilience

CVE-2022-42475

Memory Safety in Fortinet Fortios 5.0.0 – 5.0.14

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRansomware-linkedMemory Safety
Published
02 January 2023
Modified
24 October 2025
KEV Added
13 December 2022
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 99.9th percentile
Risk Priority 97 floored blend · peak EPSS

Summary

CVE-2022-42475 is a critical-severity Numeric Truncation Error (CWE-197) vulnerability in Fortinet Fortios. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.1% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A heap-based buffer overflow vulnerability exists in the SSL-VPN components of FortiOS versions 7.2.0-7.2.2, 7.0.0-7.0.8, 6.4.0-6.4.10, 6.2.0-6.2.11, and 6.0.15 and earlier, as well as FortiProxy versions 7.2.0-7.2.1 and 7.0.7 and earlier. The flaw, tracked as CWE-122, permits remote attackers to supply specially crafted requests that corrupt heap memory.

An unauthenticated attacker with network access can exploit the issue to execute arbitrary code or commands on the affected device. The vulnerability carries a CVSS 3.1 score of 9.8, reflecting that no user interaction or credentials are required and that the impact spans confidentiality, integrity, and availability.

Fortinet advisory FG-IR-22-398 recommends applying the vendor-supplied patches or upgrading to fixed releases. CISA has added the CVE to its Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. The associated EPSS score currently stands at 0.9401 with a peak of 0.9406, indicating sustained and substantial exploitation interest.

EU & UK References

Vulnerability Data

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…

more

execute arbitrary code or commands via specifically crafted requests.

CWE(s)
KEV Date Added
13 December 2022

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2018-13383Same product: Fortinet Fortiosboth on KEV
CVE-2024-21762Same product: Fortinet Fortiosboth on KEV
CVE-2023-27997Same product: Fortinet Fortiosboth on KEV
CVE-2023-22639Same product: Fortinet Fortios
CVE-2023-42789Same product: Fortinet Fortios
CVE-2023-22640Same product: Fortinet Fortios
CVE-2024-52963Same product: Fortinet Fortios
CVE-2023-33308Same product: Fortinet Fortios
CVE-2024-26010Same product: Fortinet Fortios
CVE-2023-29182Same product: Fortinet Fortios

Affected Assets

fortinet
fortios
5.0.0 — 5.0.14 · 5.2.0 — 5.2.15 · 5.4.0 — 5.4.13
fortinet
fortiproxy
1.0.0 — 1.0.7 · 1.1.0 — 1.1.6 · 1.2.0 — 1.2.13

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent truncation errors via reviews, static analysis, and safe type handling.

ID.RA-01 partial match
prevents

Vulnerability scanning and recording can discover out-of-bounds write flaws so they can be remediated.

PR.PS-02 partial match
prevents

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect truncation bugs through static analysis and fuzzing.

prevents

Secure development lifecycle mandates practices that can catch numeric truncation during design and code review.

degrades

Application security requirements can specify safe numeric handling and data-type constraints.

degrades

Secure architecture principles include choosing appropriate data types and avoiding unsafe casts.

prevents

Secure coding standards directly prohibit unsafe narrowing conversions and truncation.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References