FortiOS
CVE-2025-57740: Heap-based Buffer Overflow in FortiPAM, FortiProxy and others
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.
Published
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | 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 |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
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
KEV status, EPSS score and vendor data refreshed automatically, last on 10 Oct 2026.