CVE-2023-27997
Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
- Published
- Jun 13, 2023
- Updated
- Jul 31, 2026
- Assigning CNA
- fortinet
- Evidence observed
- Jun 13, 2023
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.7%
- Model date
- Nov 6, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
- CVE-2023-27997Exploit
Python exploit for CVE-2023-27997 targeting FortiGate VM64 7.2.0 with heap spray and shellcode injection to achieve remote code execution.
- CVE-2023-27997-CheckScanner
Lightweight Python script to check Fortinet SSL VPN instances for CVE-2023-27997 vulnerability, supporting single URL and batch file scanning.
Educational proof-of-concept exploit for CVE-2023-27997 (xortigate), demonstrating a XOR-based buffer overflow vulnerability in Fortinet firewalls.
- CVE-2023-27997-POCExploit
POC FortiOS SSL-VPN buffer overflow vulnerability
The FortiGate SSL-VPN pot of gold. CVE-2024-21762 and CVE-2023-27997. 79 working exploit clients. 53 hardware SKUs. 55 FortiOS builds.
- CVE-2023-27997-POCExploit
Fortigate SSL VPN buffer overflow exploit
- fgt-cve-2023-27997-exploitExploit
FortiGate SSL-VPN CVE-2023-27997 Exploit PoC Script with ROP Chain
- cve-2023-27997Exploit
Exploit for CVE-2023-27997, a critical vulnerability enabling remote code execution. Provides proof-of-concept code for security testing and vulnerability validation.
- ShodanFortiOSScanner
Search vulnerable FortiOS devices via Shodan (CVE-2023-27997)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.