CVE-2023-27997
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, vers…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Fortinet FortiOS-6K7K 7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6; 6.4.2; >= 6.2.9, <= 6.2.13; >= 6.2.6, <= 6.2.7; 6.2.4; …
- Anyone running Fortinet FortiProxy >= 7.2.0, <= 7.2.3; >= 7.0.0, <= 7.0.9; >= 2.0.0, <= 2.0.12; >= 1.2.0, <= 1.2.13; >= 1.1.0, <= 1.1.6
- Anyone running Fortinet FortiOS >= 7.2.0, <= 7.2.4; >= 7.0.0, <= 7.0.11; >= 6.4.0, <= 6.4.12; >= 6.2.0, <= 6.2.13; >= 6.0.0, <= 6.0.16
Vulnerability facts
- Affected
- Fortinet FortiOS-6K7K 7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6; 6.4.2; >= 6.2.9, <= 6.2.13; >= 6.2.6, <= 6.2.7; 6.2.4; …; Fortinet FortiProxy >= 7.2.0, <= 7.2.3; >= 7.0.0, <= 7.0.9; >= 2.0.0, <= 2.0.12; >= 1.2.0, <= 1.2.13; >= 1.1.0, <= 1.1.6; Fortinet FortiOS >= 7.2.0, <= 7.2.4; >= 7.0.0, <= 7.0.11; >= 6.4.0, <= 6.4.12; >= 6.2.0, <= 6.2.13; >= 6.0.0, <= 6.0.16
- Fixed in
- No fix listed yet
- Exploited in the wild
- Yes: in CISA KEV since 2023-06-13; federal due date 2023-07-04; known ransomware use
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:ROpen in CVSS calculator
Show all 10 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- E: F
- RC: R
- EPSS
- 13.78% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-122
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Fortinet FortiOS-6K7K | 7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6; 6.4.2; >= 6.2.9, <= 6.2.13; >= 6.2.6, <= 6.2.7; 6.2.4; … | — | cvelist |
| Fortinet FortiProxy | >= 7.2.0, <= 7.2.3; >= 7.0.0, <= 7.0.9; >= 2.0.0, <= 2.0.12; >= 1.2.0, <= 1.2.13; >= 1.1.0, <= 1.1.6 | — | cvelist |
| Fortinet FortiOS | >= 7.2.0, <= 7.2.4; >= 7.0.0, <= 7.0.11; >= 6.4.0, <= 6.4.12; >= 6.2.0, <= 6.2.13; >= 6.0.0, <= 6.0.16 | — | cvelist |
Timeline
- 2023-06-13 Published
- 2023-06-13 Added to CISA KEV (exploited in the wild)
- 2023-07-04 CISA remediation due date for US federal agencies
- 2026-07-31 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-27997. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-27997.md Affected: Fortinet FortiOS-6K7K 7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6; 6.4.2; >= 6.2.9, <= 6.2.13; >= 6.2.6, <= 6.2.7; 6.2.4; …; Fortinet FortiProxy >= 7.2.0, <= 7.2.3; >= 7.0.0, <= 7.0.9; >= 2.0.0, <= 2.0.12; >= 1.2.0, <= 1.2.13; >= 1.1.0, <= 1.1.6; Fortinet FortiOS >= 7.2.0, <= 7.2.4; >= 7.0.0, <= 7.… Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Fortinet FortiOS-6K7K, Fortinet FortiProxy, Fortinet FortiOS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-27997 being exploited?
Yes. CISA lists CVE-2023-27997 in its Known Exploited Vulnerabilities catalog since 2023-06-13, which means attacks have been seen. No public exploit code is known. EPSS estimates a 13.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-27997?
Critical: CVSS 9.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-27997?
Fortinet FortiOS-6K7K 7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6; 6.4.2; >= 6.2.9, <= 6.2.13; >= 6.2.6, <= 6.2.7; 6.2.4; …; Fortinet FortiProxy >= 7.2.0, <= 7.2.3; >= 7.0.0, <= 7.0.9; >= 2.0.0, <= 2.0.12; >= 1.2.0, <= 1.2.13; >= 1.1.0, <= 1.1.6; Fortinet FortiOS >= 7.2.0, <= 7.2.4; >= 7.0.0, <= 7.0.11; >= 6.4.0, <= 6.4.12; >= 6.2.0, <= 6.2.13; >= 6.0.0, <= 6.0.16.
Is there a fix for CVE-2023-27997?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-27997?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.