CVE-2023-27997: Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
Vulnerability summary
CVE-2023-27997 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in Fortinet FortiOS and FortiProxy SSL-VPN. It is known to be exploited: CISA and ENISA list it, first on 13-06-2023. It has been used in ransomware campaigns. EPSS estimates a 85.69% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities.
Timeline
- 13-06-2023PublishedVulnerability first disclosed.
- 13-06-2023Added to CISA KEVFortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
- 04-07-2023CISA remediation dueApply updates per vendor instructions.
- 23-01-2025Added to ENISA KEVAdded to the ENISA known exploited vulnerabilities catalog.
- 31-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA9.2CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:RDiffers
EPSS trend
Probability
85.69%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 85.69% on 21-09-2026
Known exploited
Compare KEV catalogs- Added
- 13-06-2023
- Federal due date
- 04-07-2023
- Added
- 23-01-2025
CISA required action
Apply updates per vendor instructions. www.fortiguard.com/psirt/FG-IR-23-097 nvd.nist.gov/vuln/detail/CVE-2023-27997
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Fortinet3 products
- fortiosEOL≥ 6.0.0, ≤ 6.0.16 | ≥ 6.2.0, ≤ 6.2.13 | ≥ 6.4.0, ≤ 6.4.12 | ≥ 7.0.0, ≤ 7.0.11 | ≥ 7.2.0, ≤ 7.2.4 | ≥ 6.0.12, ≤ 6.0.16 | ≥ 6.2.9, ≤ 6.2.13 | 6.0.10 | 6.2.4 | 6.2.6 | 6.2.7 | 6.4.2 | 6.4.6 | 6.4.8 | 6.4.10 | 6.4.12 | 7.0.5 | 7.0.10
- fortios-6k7k7.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 | ≥ 6.0.12, ≤ 6.0.16 | 6.0.10
- fortiproxy≥ 1.1.0, ≤ 1.1.6 | ≥ 1.2.0, ≤ 1.2.13 | ≥ 2.0.0, ≤ 2.0.12 | ≥ 7.0.0, ≤ 7.0.9 | ≥ 7.2.0, ≤ 7.2.3
1 vendor · 3 products
References
2 links- fortiguard.com/psirt/FG-IR-23-097Vendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27997Government ResourceUS Government Resource