CVE-2023-27997: XORtigate
- Vendor
- Fortinet
CVE-2023-27997, also known as XORtigate, is a pre-authentication heap-based buffer overflow in the SSL-VPN functionality of Fortinet FortiOS and FortiProxy. Specially crafted requests can corrupt heap memory and allow a remote unauthenticated attacker to execute arbitrary code or commands on an affected appliance. Affected releases include FortiOS 7.2.4 and earlier, 7.0.11 and earlier, 6.4.12 and earlier, and 6.0.16 and earlier within their respective branches; FortiProxy 7.2.3 and earlier, 7.0.9 and earlier, and 2.0.12 and earlier within their respective branches; and all FortiProxy 1.1 and 1.2 releases. FortiOS 7.4 is not affected. Exploitation was observed before patches became available in June 2023.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits unauthorized code or command execution on the SSL-VPN appliance without credentials. Appliance compromise can expose configuration data, credentials, and cryptographic material, enable configuration changes and backdoor installation, and provide a foothold for access to internal networks. Post-exploitation activity associated with this vulnerability has included persistence that survived patching. The vulnerability has been exploited in espionage and ransomware-related intrusions.
Mitigation
If you can’t patch tonight, do this now.
Disable SSL-VPN until a fixed release can be installed. Reduce exposure by restricting access to necessary trusted networks and applying Fortinet hardening guidance. MFA does not prevent exploitation because the vulnerable processing occurs before authentication.
Remediation
Patch, then assume compromise.
Upgrade affected installations using Fortinet's supported upgrade path to a current supported release containing the fix. Fixed FortiOS releases include 6.0.17, 6.2.15, 6.4.13, 7.0.12, and 7.2.5. Apply the product-specific fixed releases for FortiOS-6K7K and FortiProxy; FortiProxy 1.1 and 1.2 require migration to a fixed release. For confirmed compromise, patching alone is insufficient: isolate the appliance, preserve evidence, rebuild or replace it as appropriate, rotate configured and potentially exposed secrets, and investigate persistence and downstream lateral movement.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 7 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2023-27997 exploited in the wild?
- Yes. As of Nov 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 13, 2023.
- Is there a public exploit for CVE-2023-27997?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2023-27997, the earliest disclosed Oct 12, 2023.
- Is there a patch for CVE-2023-27997?
- Upgrade affected installations using Fortinet's supported upgrade path to a current supported release containing the fix. Fixed FortiOS releases include 6.0.17, 6.2.15, 6.4.13, 7.0.12, and 7.2.5.
- What products are affected by CVE-2023-27997?
- Fortinet Fortios, Fortinet Fortiproxy, and Fortinet Fortios-6k7k.
- How severe is CVE-2023-27997?
- CVE-2023-27997 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 86.8% (100th percentile) as of Nov 16, 2026.
Recent activity
62 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.