BreachSpiderVerified, not vibes

CVE-2023-27997 in Fortinet FortiProxy and 6 more products

Known-exploited (CISA) since 2023-06-13 Critical 9.8 Industrial / OT

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 m...

Affects 7 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS13.8%
EPSS percentile97th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Fortinet FortiProxy ≥ 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
Fortinet FortiOS ≥ 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
Fortinet FortiOS-6K7K 6.0.10 6.2.4 6.4.2 6.4.6 6.4.8 6.4.10
+6 more6.4.12 7.0.5 7.0.10 ≥ 6.0.12, ≤ 6.0.16 ≥ 6.2.6, ≤ 6.2.7 ≥ 6.2.9, ≤ 6.2.13
Siemens RUGGEDCOM APE1808 (device and firmware) All versions

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Fortinet FortiGate 6000, Fortinet FortiGate 7000

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2023-06-13
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-27997
BreachSpider IDBS-2023-GLOBAL-259948-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-06-13
Last modified2026-07-31
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-122: Heap-Based Buffer Overflow

Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-122

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical heap-based buffer overflow vulnerability exists in multiple versions of FortiOS and FortiProxy, which could allow remote attackers to execute arbitrary code or commands via crafted requests. This vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof-of-concept available.

The vulnerability can be exploited remotely without authentication, requiring only network access to the affected device. An attacker can send specially crafted requests to the SSL-VPN service, leading to a heap-based buffer overflow. This could result in remote code execution, potentially allowing the attacker to gain full control over the affected system.

Compensating controls AI-drafted, review before use

Implement strict input validation and length checks on all incoming HTTP requests to the SSL-VPN service. Consider deploying a web application firewall (WAF) to filter out suspicious traffic.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2023-27997?

A critical heap-based buffer overflow vulnerability exists in multiple versions of FortiOS and FortiProxy, which could allow remote attackers to execute arbitrary code or commands via crafted requests. This vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof-of-concept available.

What is the CVSS score for CVE-2023-27997?

CVE-2023-27997 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 13.8%.

Is CVE-2023-27997 actively exploited?

Yes. CVE-2023-27997 is in the CISA known-exploited catalog (added 2023-06-13). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2023-27997?

Priority: IMMEDIATE. Advisory: https://cert-portal.siemens.com/productcert/html/ssa-770770.html PSIRT: [email protected]

What systems are affected by CVE-2023-27997?

CVE-2023-27997 affects Fortinet FortiProxy, FortiOS, FortiOS-6K7K; Siemens RUGGEDCOM APE1808.

What NERC-CIP standard applies to CVE-2023-27997?

NERC CIP CIP-007 CIP-007-R2: This vulnerability allows unauthorized access to the control system, violating the requirement for secure access to electronic security perimeters.

What IEC 62443 requirement maps to CVE-2023-27997?

IEC 62443 SR 7.6: This vulnerability impacts the integrity and availability of the control system, necessitating robust security measures to prevent unauthorized access and potential remote code execution.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fortinet","product":"FortiProxy","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-31.