CVE-2023-27997: Heap buffer overflow in sslvpn pre-authentication

CVE-2023-27997 affects 85 listed versions of Fortinet FortiOS, Fortinet FortiProxy in the Dawnsentry catalogue. It is known to be exploited in the wild.

9.8CVSS critical
In CISA's KEV catalogue since 2023-06-13exploitation
87%EPSS (next 30 days)
13 June 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Fortinet FortiOS

47 of 194 listed versions are affected. Fixed in 7.2.5, 7.0.12, 6.4.13, 6.2.14, 6.0.17. The newest release, 8.0.3, is not affected.

7.2.4 7.2.3 7.2.2 7.2.1 7.2.0 7.0.11 7.0.10 7.0.9 7.0.8 7.0.7 7.0.6 7.0.5 6.4.12 6.4.11 6.4.10 6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.2.13 6.2.12 6.2.11 6.2.10 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.0.16 6.0.15 6.0.14 6.0.13 6.0.12 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4

Fortinet FortiProxy

38 of 97 listed versions are affected. Fixed in 7.2.4, 7.0.10, 2.0.13. The newest release, 8.0, is not affected.

7.2.3 7.2.2 7.0.9 2.0.12 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 1.2.13 1.2.12 1.2.11 1.2.10 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.2 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.1

What it is

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Fortinet on 13 June 2023. Last changed 31 July 2026. CISA lists it as used in ransomware campaigns.

Sources

Check one version you run: look CVE-2023-27997 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.