CVE-2023-27997
CVE-2023-27997 — Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
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.
Published Updated Sources: NVD, Fortinet (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Jun 13, 2023
EPSS
14%
ahead of 97% of scored CVEs
CVSS base
9.8
critical · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
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 …
CISA required action
Apply updates per vendor instructions.
Federal deadline Jul 4, 2023 — passed 1,249 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fortinet | FortiOS-6K7K | 7.0.10 | Vulnerable |
| Fortinet | FortiOS-6K7K | 7.0.5 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.4.12 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.4.10 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.4.8 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.4.6 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.4.2 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.2.9 to <= 6.2.13 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.2.6 to <= 6.2.7 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.2.4 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.0.12 to <= 6.0.16 | Vulnerable |
| Fortinet | FortiOS-6K7K | 6.0.10 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | Fortinet (CNA), NVD, GHSA |
| 9.2 | CVSS 3.1 | critical | n/a | n/a | Fortinet (CNA) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-122 · Heap-based Buffer Overflow
- DoS: Crash, Exit, or Restart
- DoS: Resource Consumption (CPU)
- DoS: Resource Consumption (Memory)
- Execute Unauthorized Code or Commands
Mitigation: Pre-design: Use a language or compiler that performs automatic bounds checking.
CWE-787 · Out-of-bounds Write
- Modify Memory
- DoS: Crash, Exit, or Restart
- Execute Unauthorized Code or Commands::
Mitigation: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
Weakness & attack patterns
- CWE-122Heap-based Buffer Overflow
- CWE-787Out-of-bounds Write
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Jun 13, 2023
Federal deadline
Jul 4, 2023
passed 1,249 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
59
2 of the 5 sampled are weaponized
Exploit entries
17
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
12
Named
Cl0p
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
Genuine question for junior infosec analysts: Found a CVE-2023-27997 in an internal Docker image (port 8443, Nginx 1.24) but devs say patch will break CI. Do you push the fix or risk the deadline?
@Niyazhn45· Nov 17, 2026
@loquepasahora @josepeguero @PoliciaRD y con fallas críticas con CVSS 9.8 como CVE-2024-21762 y CVE-2023-27997, los roban sin tocar la CLI. Palo Alto y Check Point dominan en inspección real, y si buscas control estricto de paquetes, la CLI y arquitecturas hardened sin GUI de adorno siempre le darán patadas.
@Elvismen· Sep 18, 2026
CISA orders feds: Patch exploited Fortinet EMS flaw (CVE-2023-27997) by Friday or isolate. Actively hacked in wild—9.6 CVSS remote code exec. Enterprise wake-up call. https://t.co/xpDj963T03
@thecircuitry_· Apr 6, 2026
336K FortiGate SSL VPNs still unpatched for CVE-2023-27997 (9.8) — unauth RCE, exploited in the wild. Patch/upgrade now, restrict SSL VPN exposure, and review configs for changes. https://t.co/12sSHRqRMu
@Anavem_· Jan 26, 2026
@StoneColdChik @ShawnRyanShow @ShawnRyan762 @SteveRob Yes, Fortinet products have had reported issues, including exploited SSL-VPN vulnerabilities (e.g., CVE-2023-27997, CVE-2024-21762), GUI failures in FortiGate after upgrades, and a delayed disclosure on a FortiWeb defect (CVSS 9.8). No single exhaustive list, but see FortiGuard
@grok· Jan 19, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable FortiOS-6K7K, FortiProxy, FortiOS.
- Monitor for scanner or exploit-pattern traffic after 76 public PoC repositories were reported.
Exposure queries
Search-engine queries that surface exposed instances. Run them against your own estate first.

ssl.cert.subject.cn:FortiGate
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
24 more threat groups on this CVEShowing 5 of 29 · Attribution, campaigns and the malware each one runsUnlock free- ip45.154.14.23585
Maltrail Malware Feeds · Mar 9, 2022
- ip138.197.16.1457
Collective Intelligence Network Security-Firehol · Mar 19, 2024
- hostnameterofmail.com66
Cisco-Talos · Jan 19, 2025
- hostnamens1.tlsart.com73
Maltrail Malware Feeds · Nov 21, 2024
- hostname12301230.co63
usom.phishing-General-List · Aug 18, 2023
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited abraxas/Fortigate-SSL-VPN-Exploit-Kit
Sep 15, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.8 (AV:N)
Jul 31, 2026 · NVD
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
- 2023
Added to CISA KEV catalog
Jun 13, 2023 · CISA
Initial · CVE published
Jun 13, 2023 · NVD
Added · GHSA-2hj2-fcr9-9p35 published (critical)
Jun 13, 2023 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 9×SVRS was changedMay 8, 2025 – Apr 8, 2026 · SOCRadar CTI
- 8×Tweets · 1 time tweeted.Nov 1, 2025 – Nov 18, 2026 · SOCRadar CTI
- 4×CVE modified by MITRE: CVSS metrics updated.Oct 21, 2025 – Oct 24, 2025 · SOCRadar CTI
- 3×Github ReposApr 6, 2026 – Sep 1, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Nov 1, 2025 · SOCRadar CTI
References
5 on the record
- fortiguard.com/psirt/FG-IR-23-097
Vendor Advisory, NIST, Mitre
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27997
US Government Resource, NIST
- nvd.nist.gov/vuln/detail/CVE-2023-27997
NVD, Vendor Advisory
- github.com/advisories/GHSA-2hj2-fcr9-9p35
Exploit, Third Party Advisory
- www.fortiguard.com/psirt/FG-IR-23-097
Vendor Advisory
Coverage
10 stories from the feeds we poll
ISC StormCast for Monday, June 12th, 2023
isc.sans.edu · Jun 12, 2023
ISC StormCast for Tuesday, June 13th, 2023
isc.sans.edu · Jun 13, 2023
ISC StormCast for Thursday, June 15th, 2023
isc.sans.edu · Jun 15, 2023
Critical RCE Flaw in Fortigate SSL-VPN Devices
exchange.xforce.ibmcloud.com · Jul 3, 2023
Kritische Sicherheitslücke in Fortinet FortiOS und FortiProxy SSL-VPN Produkten - aktiv ausgenutzt, Updates verfügbar
cert.at · Jun 13, 2023
5 more reports on this CVEShowing 5 of 10 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-24858 Fortinet Multiple Products Authentication Bypass Using an Alternate Path or Channel VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-59718 Fortinet Multiple Products Improper Verification of Cryptographic Signature VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-25249 Fortinet Multiple Products Heap-based Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-55591 Fortinet FortiOS and FortiProxy Authentication Bypass VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-23113 Fortinet Multiple Products Format String VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-21762 Fortinet FortiOS Out-of-Bound Write VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Fortinetevery CVE for this vendor
- FortiOS-6K7Kevery page on this product
- FortiProxyevery page on this product
- June 2023what else CISA listed
- Memory Corruptionsame class
- CWE-122other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2023-27997 is Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability, a critical vulnerability affecting FortiOS-6K7K, FortiProxy, FortiOS from Fortinet. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 76 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 14% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.