CVE-2023-27997 · Known exploited vulnerability

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

Actively exploited (CISA KEV)Ransomware use: Known

Summary

CVE-2023-27997 is a heap-based buffer overflow vulnerability in Fortinet FortiOS and FortiProxy SSL-VPN, rated critical severity with a CVSS base score of 9.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 13 June 2023, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.

It can be exploited remotely over a network without needing an account.

Fortinet FortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute code or commands via specifically crafted requests.
CISA catalogue description

Key facts

Affected product
Fortinet · FortiOS and FortiProxy SSL-VPN
CVSS severity
Critical9.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
86.75%Higher than 99.7% of all scored CVEs
Weakness (CWE)
CWE-122
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 4 July 2023 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Fortinet FortiOS and FortiProxy SSL-VPN anywhere, including systems managed by suppliers or cloud providers.
  • Identify every installed version, including embedded or bundled copies, and prioritise internet-facing and user-facing systems.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Watch for crashes or restarts of the affected service, which can indicate exploitation attempts, alongside unusual process activity.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

More from Fortinet

  • CVE-2025-61624

    Multiple Products

    Path Traversal

    Medium6.5
  • CVE-2026-104286

    FortiMail

    Path Traversal

    Critical9.8
  • CVE-2025-25249

    Multiple Products

    Heap-based Buffer Overflow

    Critical9.8
  • CVE-2025-68686

    FortiOS

    Exposure of Sensitive Information to an Unauthorized Actor

    Medium5.9
  • CVE-2026-39808

    FortiSandbox

    OS Command Injection

    Critical9.8
  • CVE-2026-25089

    FortiSandbox

    OS Command Injection

    Critical9.8
All 32 Fortinet vulnerabilities

Same weakness (CWE-122) in other products

  • CVE-2026-94127

    F5 · BIG-IP APM

    Heap-based Buffer Overflow

    Critical9.8
  • CVE-2026-85880

    Microsoft · Windows

    Heap-Based Buffer Overflow

    High7.8
  • CVE-2026-53362

    Linux · Kernel

    Out-of-bounds write

    High7.8
  • CVE-2025-32706

    Microsoft · Windows

    Common Log File System (CLFS) Driver Heap-Based Buffer Overflow

    High7.8
  • CVE-2025-24993

    Microsoft · Windows

    NTFS Heap-Based Buffer Overflow

    High7.8
  • CVE-2025-24985

    Microsoft · Windows

    Fast FAT File System Driver Integer Overflow

    High7.8

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.