Fortinet FortiOS
CVE-2025-57740
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to SSL-VPN/portal (PR:L)
-
DeliveryAccess RDP bookmark feature
-
ExploitSend crafted RDP bookmark request
-
ExecutionTrigger heap buffer overflow
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
An authentication bypass using an alternate path or channel [CWE-288] in Fortinet FortiOS version 7.2.0 through 7.2.1 an
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
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
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, versi
FortiOS SSL-VPN contains an improper authentication vulnerability that allows users to bypass two-factor authentication
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
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
Remote code execution in Fortinet FortiOS (6.4 through 7.6.3) and FortiSwitchManager (7.0.x/7.2.x) lets an attacker run
Path traversal vulnerability in Fortinet FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager allows authenticated admi
Cross-site scripting (XSS) vulnerability in the sslvpn login page in Fortinet FortiOS 5.2.x before 5.2.3 allows remote a
FortiOS and FortiProxy contain an authentication bypass allowing unauthenticated attackers with knowledge of upstream/do
An Exposure of Sensitive Information to an Unauthorized Actor vulnerability [CWE-200] vulnerability in Fortinet FortiOS
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB