# CVE-2025-57740: Heap-based Buffer Overflow in FortiOS, FortiProxy and others

- Vendor: Fortinet, FortiOS, FortiProxy, FortiPAM
- Severity: MEDIUM (CVSS 3.1 6.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-25-756, https://fortiguard.fortinet.com/psirt/FG-IR-25-756
- Published: 2025-10-14; updated: 2026-01-14
- Page: https://patchtonight.com/cve/CVE-2025-57740/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiPAM 1.5 | 1.5.1 or later |
| FortiPAM 1.4.0 to 1.4.2 | 1.4.3 or later |
| FortiPAM 1.3.0 to 1.3.1 | Upgrade past 1.3.1; see the advisory |
| FortiPAM 1.2 | See the advisory |
| FortiPAM 1.1.0 to 1.1.2 | Upgrade past 1.1.2; see the advisory |
| FortiPAM 1.0.0 to 1.0.3 | Upgrade past 1.0.3; see the advisory |
| FortiProxy 7.6.0 to 7.6.2 | 7.6.3 or later |
| FortiProxy 7.4.0 to 7.4.3 | 7.4.4 or later |
| FortiProxy 7.2.0 to 7.2.15 | Upgrade past 7.2.15; see the advisory |
| FortiProxy 7.0.0 to 7.0.22 | Upgrade past 7.0.22; see the advisory |
| FortiOS 7.6.0 to 7.6.2 | 7.6.3 or later |
| FortiOS 7.4.0 to 7.4.7 | 7.4.8 or later |
| FortiOS 7.2.0 to 7.2.10 | 7.2.11 or later |
| FortiOS 7.0.0 to 7.0.18 | Upgrade past 7.0.18; see the advisory |
| FortiOS 6.4.0 to 6.4.16 | Upgrade past 6.4.16; see the advisory |

## The vendor's 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.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-25-756)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
