CVE-2025-57740 Memory corruption in FortiOS
An authenticated user can execute unauthorized code via crafted RDP bookmark requests due to a heap-based buffer overflow in Fortinet products.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-57740?
CVE-2025-57740 is a medium-severity memory corruption vulnerability in Fortinet Fortios, published on 14 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-122
Which versions are affected by CVE-2025-57740?
It affects 3 products.
Products include Fortinet Fortios, Fortinet Fortipam, Fortinet Fortiproxy.
How do I fix CVE-2025-57740?
No fix has been published for CVE-2025-57740 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-57740 being exploited?
There is no known exploitation of CVE-2025-57740 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-246v-8qgx-g3wc.