CVEBrief

Home / Fortinet / FortiOS-6K7K / CVE-2023-27997

CVE-2023-27997: is it exploited, and which versions of Fortinet FortiOS-6K7K are affected and fixed?

CVE-2023-27997 is a heap buffer overflow vulnerability in Fortinet FortiOS-6K7K, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on June 13, 2023, with a federal due date of July 4, 2023. Affected: FortiOS-6K7K 7.0.10, FortiOS-6K7K 7.0.5, FortiOS-6K7K 6.4.12 and 19 more (CVE record by fortinet). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.2, CVSS 3.1, from fortinet).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.

Exploited in the wild
Yes, CISA KEV
added June 13, 2023, due July 4, 2023, used in ransomware
Affected
FortiOS-6K7K 7.0.10, FortiOS-6K7K 7.0.5, FortiOS-6K7K 6.4.12 and 19 more
CVE record by fortinet
Fixed in
Not listed
check the vendor advisory
Severity
Critical 9.2
CVSS 3.1 from fortinet
Exploit odds (EPSS)
86.8% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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.

From the CVE record by fortinet, last updated July 31, 2026, 03:55 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
FortinetFortiOS-6K7K7.0.10
7.0.5
6.4.12
6.4.10
6.4.8
6.4.6
6.4.2
from 6.2.9 through 6.2.13
from 6.2.6 through 6.2.7
6.2.4
from 6.0.12 through 6.0.16
6.0.10
FortinetFortiProxyfrom 7.2.0 through 7.2.3
from 7.0.0 through 7.0.9
from 2.0.0 through 2.0.12
from 1.2.0 through 1.2.13
from 1.1.0 through 1.1.6
FortinetFortiOSfrom 7.2.0 through 7.2.4
from 7.0.0 through 7.0.11
from 6.4.0 through 6.4.12
from 6.2.0 through 6.2.13
from 6.0.0 through 6.0.16

As the CVE record by fortinet states it, last updated July 31, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
fortinetfortiproxyfrom 1.1.0 through 1.1.6application
fortinetfortiproxyfrom 1.2.0 through 1.2.13application
fortinetfortiproxyfrom 2.0.0 through 2.0.12application
fortinetfortiproxyfrom 7.0.0 through 7.0.9application
fortinetfortiproxyfrom 7.2.0 through 7.2.3application
fortinetfortiosfrom 6.0.0 through 6.0.16operating system
fortinetfortiosfrom 6.2.0 through 6.2.13operating system
fortinetfortiosfrom 6.4.0 through 6.4.12operating system
fortinetfortiosfrom 7.0.0 through 7.0.11operating system
fortinetfortiosfrom 7.2.0 through 7.2.4operating system
fortinetfortiosfrom 6.0.12 through 6.0.16operating system
fortinetfortiosfrom 6.2.9 through 6.2.13operating system
fortinetfortios6.0.10operating system
fortinetfortios6.2.4operating system
fortinetfortios6.2.6operating system
fortinetfortios6.2.7operating system
fortinetfortios6.4.2operating system
fortinetfortios6.4.6operating system
fortinetfortios6.4.8operating system
fortinetfortios6.4.10operating system
fortinetfortios6.4.12operating system
fortinetfortios7.0.5operating system
fortinetfortios7.0.10operating system

NVD analysis (status Analyzed), last modified July 31, 2026, 04:16 UTC.

How severe is CVE-2023-27997?

ScoreVersionVectorSource
Critical 9.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:Rfortinet
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-27997 exploited in the wild?

CISA KEV
Listed as Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability, added June 13, 2023; federal agencies must act by July 4, 2023
Required action
Apply updates per vendor instructions.
Ransomware use
Known
CISA's summary
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 SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, June 12, 2023)
EPSS
86.8% probability of exploitation activity in the next 30 days, percentile 99.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

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

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
March 9, 2023
Published
June 13, 2023, 08:41 UTC
CVE record updated
July 31, 2026, 03:55 UTC by fortinet
NVD
Analyzed, last modified July 31, 2026, 04:16 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect FortiOS-6K7K?

Every CVE in FortiOS-6K7K

Questions about CVE-2023-27997

Is CVE-2023-27997 exploited in the wild?

Yes. CISA added CVE-2023-27997 to its Known Exploited Vulnerabilities catalog on June 13, 2023 and set federal agencies a due date of July 4, 2023. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 86.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Fortinet FortiOS-6K7K are affected by CVE-2023-27997?

FortiOS-6K7K 7.0.10, FortiOS-6K7K 7.0.5, FortiOS-6K7K 6.4.12, FortiOS-6K7K 6.4.10, FortiOS-6K7K 6.4.8, FortiOS-6K7K 6.4.6 and 16 more, per the CVE record by fortinet. The tables above give every range the sources list.

Which version fixes CVE-2023-27997?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2023-27997?

Critical (9.2, CVSS 3.1, from fortinet). The severity table above shows each score with its source.

Where is the official record of CVE-2023-27997?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.