CVE-2023-27997
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.2
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.
- Record
CVE-2023-27997- CVSS 3.1
- 9.2 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:R - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2023-31722
9.2
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.
- Record
EUVD-2023-31722- CVSS 3.1
- 9.2 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:R - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2hj2-fcr9-9p35
9.8
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version...
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.
- Record
GHSA-2hj2-fcr9-9p35- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
CISA KEV No score
Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
Fortinet FortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute code or commands via specifically crafted requests.
- Record
CVE-2023-27997- Weakness
- CWE-122
- Updated
- 2026-11-02
NVD
9.8
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.
- Record
CVE-2023-27997- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | BishopFox/CVE-2023-27997-check | 2023-06-16 |
| PoC in GitHub | rio128128/CVE-2023-27997-POC | 2023-06-16 |
| PoC in GitHub | imbas007/CVE-2023-27997-Check | 2023-06-22 |
| PoC in GitHub | puckiestyle/cve-2023-27997 | 2023-06-23 |
| PoC in GitHub | TechinsightsPro/ShodanFortiOS | 2023-07-11 |
| PoC in GitHub | Cyb3rEnthusiast/CVE-2023-27997 | 2023-09-03 |
| PoC in GitHub | delsploit/CVE-2023-27997 | 2023-10-12 |
| PoC in GitHub | lexfo/xortigate-cve-2023-27997 | 2023-10-12 |
| PoC in GitHub | node011/CVE-2023-27997-POC | 2024-11-14 |
| PoC in GitHub | onurkerembozkurt/fgt-cve-2023-27997-exploit | 2025-04-18 |
| PoC in GitHub | Vampsecure-Labs/vamp-forticheck | 2026-07-31 |
| PoC in GitHub | abraxas/Fortigate-SSL-VPN-Exploit-Kit | 2026-09-01 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation, exploits | ||
| first indexed | CVE List, EUVD, GitHub Advisories, CISA KEV, NVD, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-27997 is a critical vulnerability (CVSS 9.2) in Fortinet Fortios, published June 13, 2023. CISA lists it as known to be exploited, since June 13, 2023. EUVD reports exploitation since June 13, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 85.7%, the 99th percentile. No source names a fixed version.