Skip to main content

Fortinet FortiOS CVE-2025-57740

HIGH
Heap-based Buffer Overflow (CWE-122)
2025-10-14 psirt@fortinet.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to SSL-VPN/portal (PR:L)
  2. Delivery
    Access RDP bookmark feature
  3. Exploit
    Send crafted RDP bookmark request
  4. Execution
    Trigger heap buffer overflow
  5. Impact
    Execute unauthorized code on appliance

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated low-privilege user (PR:L) with access to the RDP bookmark connection feature of the SSL-VPN/web portal on affected FortiOS, FortiPAM, or FortiProxy deployments; the attacker then sends crafted requests against that RDP bookmark handling. Limiting factors that reduce real-world risk: valid credentials are required (not unauthenticated), the vulnerable code path is specific to the RDP bookmark feature so environments that do not provision RDP bookmarks are less exposed, and only the listed affected versions (e.g. FortiOS 7.6.2 and below, 7.4.7 and below, 7.2.10 and below, and all 7.0/6.4; FortiProxy 7.6.2/7.4.3 and below and all 7.2/7.0; FortiPAM through 1.5.0) are impacted.

Impact

This is a credibly serious but not urgent issue. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes network-reachable, low-complexity exploitation requiring only low-privilege authentication (PR:L), with full confidentiality, integrity and availability impact - consistent with a heap overflow (CWE-122) yielding unauthorized code execution. Counterbalancing this, the EPSS score is very low (0.08%, 25th percentile), the CVE is NOT on the CISA KEV list, and no public exploit code was identified in the provided data, so there is currently no evidence of in-the-wild exploitation. The signals are therefore internally consistent rather than conflicting: high technical severity but low near-term exploitation likelihood. The dominant mitigating factor is the PR:L requirement - an attacker must already hold valid, authenticated access to the RDP-bookmark feature of the SSL-VPN/portal, which meaningfully narrows the attacker population to credentialed or post-compromise actors. Priority should be driven by the fact that this is Fortinet edge infrastructure (a historically heavily targeted class of product) rather than by any exploitation evidence available today.

Exploit ScenarioDerived

An attacker holding valid low-privilege credentials to a FortiOS/FortiProxy SSL-VPN or FortiPAM web portal that exposes the RDP bookmark feature sends a crafted RDP bookmark connection request that overflows a heap buffer in the handling code. Successful exploitation corrupts heap memory to execute unauthorized code on the appliance. No public proof-of-concept was identified at the time of analysis, and the network-facing, low-complexity nature (AV:N/AC:L) means exploitation needs no user interaction once the attacker is authenticated.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 18, 2026

Authenticated heap-based buffer overflow in FortiOS, FortiPAM, and FortiProxy RDP bookmark handling can allow a low-privileged user to execute unauthorized code. Affected deployments include FortiOS 7.6.2 and below, 7.4.7 and below, 7.2.10 and below, and all 7.0/6.4 branches; FortiPAM through 1.5.0; and FortiProxy 7.6.2/7.4.3 and below and all 7.2/7.0 branches. No public exploit identified at time of analysis, and EPSS is low at 0.08%, though CVSS 8.8 reflects high confidentiality, integrity, and availability impact once an attacker holds valid low-privilege credentials and can reach the RDP bookmark feature.

Earlier versions of this analysis (1)
v1 Jun 09, 2026 - 10:31 CVSS 7.5

Authenticated remote code execution in Fortinet FortiOS, FortiProxy, and FortiPAM enables low-privileged users to trigger a heap-based buffer overflow through crafted RDP bookmark connection requests. The flaw affects multiple major release trains across all three product families, including FortiOS 7.6.2 and earlier, 7.4.7 and earlier, 7.2.10 and earlier, and all 6.4/7.0 versions. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Upgrade affected FortiOS, FortiPAM, and FortiProxy installations to a release identified as fixed in Fortinet advisory FG-IR-25-756 (https://fortiguard.fortinet.com/psirt/FG-IR-25-756); the provided dataset does not specify exact fixed version numbers, so confirm the correct fixed release for each branch in the advisory before upgrading. If immediate upgrade is not possible, reduce exposure by restricting SSL-VPN/web portal access and RDP bookmark provisioning to trusted accounts, removing unused RDP bookmarks, enforcing least privilege and MFA, and monitoring for crafted requests against RDP bookmark connections; these controls lower risk but do not eliminate the heap overflow, and removing bookmarks will break legitimate remote desktop workflows for affected users. Organizations using Fortinet products through Siemens-related deployments should also review Siemens SSA-864900 for any additional guidance, and no public exploit identified at time of analysis should not delay patching given the CVSS 8.8 impact.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is a heap-based buffer overflow (CWE-122) in the RDP bookmark connection handling used by the SSL-VPN/web portal on FortiOS, FortiPAM, and FortiProxy. RDP bookmarks are configuration objects that let portal users launch remote desktop sessions; crafted requests against that bookmark connection path can overrun heap memory because bounds are not properly enforced during parsing or processing. The CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates the vulnerable path is network-reachable, requires an authenticated low-privilege user, needs no user interaction, and can lead to high impact across confidentiality, integrity, and availability if heap corruption is successfully leveraged. CPE data identifies the affected product families as fortios, fortipam, and fortiproxy; exploitation is limited to deployments that expose the RDP bookmark feature to the attacker's account, and Fortinet's FG-IR-25-756 advisory is the primary vendor reference, with a related Siemens SSA-864900 advisory also published.

Know when Fortios gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-facing portal feature (AV:N) exploitable with low complexity and only authenticated low-privilege access (PR:L); no user interaction, and code execution yields full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Oct 18, 2026 - 22:06 vuln.today
v2 - CVSS changed
CVSS changed
Oct 18, 2026 - 21:38 NVD
7.5 (HIGH) 8.8 (HIGH)
CVE Published
Oct 14, 2025 - 16:15 nvd
HIGH 7.5

DescriptionNVD

An Heap-based Buffer Overflow vulnerability [CWE-122] in FortiOS version 7.6.2 and below, version 7.4.7 and below, version 7.2.10 and below, 7.0 all versions, 6.4 all versions; FortiPAM version 1.5.0, version 1.4.2 and below, 1.3 all versions, 1.2 all versions, 1.1 all versions, 1.0 all versions and FortiProxy version 7.6.2 and below, version 7.4.3 and below, 7.2 all versions, 7.0 all versions RDP bookmark connection may allow an authenticated user to execute unauthorized code via crafted requests.

Executive ViewAI

Why It Matters

A high-severity heap overflow (CVE-2025-57740, CVSS 8.8) in the RDP bookmark handling of FortiOS, FortiPAM, and FortiProxy could let a low-privileged user with valid credentials run unauthorized code on network and remote-access infrastructure that sits at the edge of our environment. Because these platforms gate VPN, proxy, and privileged-access paths, a successful attack could cascade into broad confidentiality, integrity, and availability loss rather than a single-system compromise. Exploitation has not been observed (no public exploit identified at time of analysis, EPSS under 0.1%), so this is a manageable exposure that hinges on how tightly we control low-privilege accounts and RDP bookmark usage until the vendor ships a fix.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable or restrict RDP bookmark profiles on FortiOS, FortiProxy, and FortiPAM until a fix ships; enforce MFA and strict least privilege on all accounts able to reach the bookmark feature; restrict management and bookmark access to trusted network segments; log and monitor bookmark configuration changes and unusual RDP session behavior; and apply the vendor patch as soon as Fortinet releases fixed firmware.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Prevalence
High
Fortinet FortiOS/FortiProxy are widely deployed enterprise security appliances
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Affected Products (CPE)NVD

cpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortipam:*:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortipam:1.5.0:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*
CVE-2022-40684 CRITICAL POC
9.8 Oct 18

An authentication bypass using an alternate path or channel [CWE-288] in Fortinet FortiOS version 7.2.0 through 7.2.1 an

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2024-21762 CRITICAL POC
9.8 Feb 09

A out-of-bounds write in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0

CVE-2023-27997 CRITICAL
9.8 Jun 13

A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, versi

CVE-2020-12812 CRITICAL
9.8 Jul 24

FortiOS SSL-VPN contains an improper authentication vulnerability that allows users to bypass two-factor authentication

CVE-2016-1909 CRITICAL POC
9.8 Jan 15

Fortinet FortiAnalyzer before 5.0.12 and 5.2.x before 5.2.5; FortiSwitch 3.3.x before 3.3.3; FortiCache 3.0.x before 3.0

CVE-2016-6909 CRITICAL POC
9.8 Aug 24

Buffer overflow in the Cookie parser in Fortinet FortiOS 4.x before 4.1.11, 4.2.x before 4.2.13, and 4.3.x before 4.3.9

CVE-2025-25249 CRITICAL POC
9.8 Jan 13

Remote code execution in Fortinet FortiOS (6.4 through 7.6.3) and FortiSwitchManager (7.0.x/7.2.x) lets an attacker run

CVE-2025-61624 MEDIUM POC
6.5 Apr 14

Path traversal vulnerability in Fortinet FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager allows authenticated admi

CVE-2015-1880 MEDIUM POC
4.3 May 12

Cross-site scripting (XSS) vulnerability in the sslvpn login page in Fortinet FortiOS 5.2.x before 5.2.3 allows remote a

CVE-2025-24472 HIGH
8.1 Feb 11

FortiOS and FortiProxy contain an authentication bypass allowing unauthenticated attackers with knowledge of upstream/do

CVE-2025-68686 MEDIUM POC
5.9 Feb 10

An Exposure of Sensitive Information to an Unauthorized Actor vulnerability [CWE-200] vulnerability in Fortinet FortiOS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy