Description
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Fortinet | FortiOS-6K7K | 7.0.10, 7.0.5, 6.4.12, 6.4.10, 6.4.8, 6.4.6, 6.4.2, 6.2.9 – ≤ 6.2.13, 6.2.6 – ≤ 6.2.7, 6.2.4, 6.0.12 – ≤ 6.0.16, 6.0.10 | — |
| Fortinet | FortiProxy | 7.2.0 – ≤ 7.2.3, 7.0.0 – ≤ 7.0.9, 2.0.0 – ≤ 2.0.12, 1.2.0 – ≤ 1.2.13, 1.1.0 – ≤ 1.1.6 | — |
| Fortinet | FortiOS | 7.2.0 – ≤ 7.2.4, 7.0.0 – ≤ 7.0.11, 6.4.0 – ≤ 6.4.12, 6.2.0 – ≤ 6.2.13, 6.0.0 – ≤ 6.0.16 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 12 repositories · most starred shown
-
BishopFox/CVE-2023-27997-check ★ 134 · Jun 16, 2023
Safely detect whether a FortiGate SSL VPN instance is vulnerable to CVE-2023-27997 based on response timing
-
lexfo/xortigate-cve-2023-27997 ★ 63 · Oct 12, 2023
xortigate-cve-2023-27997
-
rio128128/CVE-2023-27997-POC ★ 27 · Jun 16, 2023
POC FortiOS SSL-VPN buffer overflow vulnerability
-
delsploit/CVE-2023-27997 ★ 9 · Oct 12, 2023
-
Vampsecure-Labs/vamp-forticheck ★ 2 · Jul 31, 2026
VampSecure Labs: FortiOS CVE scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)
-
TechinsightsPro/ShodanFortiOS ★ 2 · Jul 11, 2023
Search vulnerable FortiOS devices via Shodan (CVE-2023-27997)
-
abraxas/Fortigate-SSL-VPN-Exploit-Kit ★ 1 · Sep 1, 2026
The FortiGate SSL-VPN pot of gold. CVE-2024-21762 and CVE-2023-27997. 79 working exploit clients. 53 hardware SKUs. 55 FortiOS builds.
-
imbas007/CVE-2023-27997-Check ★ 1 · Jun 22, 2023
-
Cyb3rEnthusiast/CVE-2023-27997 ★ 0 · Sep 3, 2023
How to get access via CVE-2022-27997
-
puckiestyle/cve-2023-27997 ★ 0 · Jun 23, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- ICSA-25-044-06 Siemens RUGGEDCOM APE1808 CISA ICS & IT advisories · Mar 12, 2026
- SSA-770770 SSA-770770: Multiple Vulnerabilities in Fortigate NGFW Before V7.4.7 on RUGGEDCOM APE1808 Devices Siemens ProductCERT · Mar 10, 2026
- WID-SEC-2023-1411 Fortinet FortiOS und FortiProxy: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jun 13, 2023