CVE-2023-27997

Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability

Published 13 Jun 2023 Updated 31 Jul 2026 CNA: fortinet

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 13 Jun 2023. US federal agencies had to act by 4 Jul 2023.

Name
Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability
Required action
Apply updates per vendor instructions.
Ransomware
Known to be used in ransomware campaigns
Notes
https://www.fortiguard.com/psirt/FG-IR-23-097 https://nvd.nist.gov/vuln/detail/CVE-2023-27997

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.

Severity (CVSS)

9.2 critical CVSS 3.1 from fortinet (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:R
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 86.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 12 Jun 2023):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
FortiOS-6K7K
affected 7.0.10
affected 7.0.5
affected 6.4.12
affected 6.4.10
affected 6.4.8
affected 6.4.6
affected 6.4.2
affected from 6.2.9 up to and including 6.2.13
affected from 6.2.6 up to and including 6.2.7
affected 6.2.4
affected from 6.0.12 up to and including 6.0.16
affected 6.0.10
Other versions: unaffected
FortiProxy
affected from 7.2.0 up to and including 7.2.3
affected from 7.0.0 up to and including 7.0.9
affected from 2.0.0 up to and including 2.0.12
affected from 1.2.0 up to and including 1.2.13
affected from 1.1.0 up to and including 1.1.6
Other versions: unaffected
FortiOS
affected from 7.2.0 up to and including 7.2.4
affected from 7.0.0 up to and including 7.0.11
affected from 6.4.0 up to and including 6.4.12
affected from 6.2.0 up to and including 6.2.13
affected from 6.0.0 up to and including 6.0.16
Other versions: unaffected

Is my server affected?

This CVE is in FortiOS-6K7K of Fortinet, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2023-27997 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.