Skip to content
Server Security Center
KEVcritical9.2 Used in ransomware campaigns

CVE-2023-27997: Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow

Fortinet FortiOS and FortiProxy SSL-VPN · listed in the CISA catalog of actively exploited vulnerabilities since 2023-06-13.

CVSS v3.1 (CVE record)
9.2
critical
EPSS (exploit probability, 30 days)
87%
higher than 99.7% of all CVEs
Added to CISA KEV
2023-06-13
US federal due date 2023-07-04
Automatable (CISA SSVC)
yes
technical impact: total

What is 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, 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Fortinet FortiOS-6K7K
    Affected
    • 6.0.10
    • ≥ 6.0.12, ≤ 6.0.16
    • 6.2.4
    • ≥ 6.2.6, ≤ 6.2.7
    • ≥ 6.2.9, ≤ 6.2.13
    • 6.4.2
    • 6.4.6
    • 6.4.8
    • 6.4.10
    • 6.4.12
    • 7.0.5
    • 7.0.10
    Fixed in
    • 6.0.17
    • 6.2.15
    • 6.4.13
    • 7.0.12

    Fixed versions taken from the CNA solution text.

  • Fortinet FortiProxy
    Affected
    • ≥ 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
    Fixed in
    • 7.0.10
    • 7.2.4

    Fixed versions taken from the CNA solution text.

  • Fortinet FortiOS
    Affected
    • ≥ 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
    Fixed in
    • 6.0.17
    • 6.2.14
    • 6.4.13
    • 7.0.12
    • 7.2.5
    • 7.4.0

    Fixed versions taken from the CNA solution text.

How to fix it

  • Update to the fixed version for your product:
    • Fortinet FortiOS-6K7K: 6.0.17, 6.2.15, 6.4.13, 7.0.12
    • Fortinet FortiProxy: 7.0.10, 7.2.4
    • Fortinet FortiOS: 6.0.17, 6.2.14, 6.4.13, 7.0.12, 7.2.5, 7.4.0
  • Vendor advisory: fortiguard.com/psirt/FG-IR-23-097
  • CISA's deadline for US federal agencies: 2023-07-04 (passed) – a useful benchmark for everyone else, too.

Vendor solution: 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 version 6.0.17 or above

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-122 Execute unauthorized code or commands

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.