Remote code executionin Fortinet FortiProxy.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 13 Jun 2023. Ransomware groups use it too.
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.
CISA: 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.
- Please upgrade to FortiOS-6K7K version 7.0.12 or above Please upgrade to FortiOS-6K7K version 6.4.13 or above Please upgrade to FortiOS-6K7K version 6.2.15 or above Please upgrade to FortiOS-6K7K version 6.0.17 or above Please upgrade to FortiProxy version 7.2.4 or above Please upgrade to FortiProxy version 7.0.10 or above Please upgrade to FortiOS version 7.4.0 or above Please upgrade to FortiOS version 7.2.5 or above Please upgrade to FortiOS version 7.0.12 or above Please upgrade to FortiOS version 6.4.13 or above Please upgrade to FortiOS version 6.2.14 or above Please upgrade to FortiOS version 6.0.17 or above
- CISA requires US federal agencies to fix it by 4 Jul 2023.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Mar 2023CVE ID reserved by fortinet.
- 13 Jun 2023Published in the CVE List.
- 13 Jun 2023Added to CISA's Known Exploited Vulnerabilities list.
- 13 Jun 2023CISA lists known use in ransomware campaigns.
- 16 Jun 2023First public proof of concept on GitHub.
- 31 Jul 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other FortiProxy vulnerabilities
Same weakness: Heap-based buffer overflow
- fortiguard.com
- www.cisa.gov government-resource
Patchminder. CVE-2023-27997: Remote code execution in Fortinet FortiProxy. https://patchminder.com/cve/cve-2023-27997/ (accessed 5 December 2026).