# CVE-2025-22258: Heap-based buffer overflow in FortiOS, FortiProxy and others

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

## 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 |
| FortiOS 7.6.0 to 7.6.2 | 7.6.3 or later |
| FortiOS 7.4.0 to 7.4.6 | 7.4.7 or later |
| FortiOS 7.2.0 to 7.2.10 | 7.2.11 or later |
| FortiOS 7.0.2 to 7.0.16 | 7.0.17 or later |
| FortiSRA 1.5 | 1.5.1 or later |
| FortiSRA 1.4.0 to 1.4.2 | 1.4.3 or later |
| FortiProxy 7.6.0 to 7.6.1 | 7.6.2 or later |
| FortiProxy 7.4.0 to 7.4.7 | 7.4.8 or later |
| FortiSwitchManager 7.2.1 to 7.2.5 | 7.2.6 or later |

## The vendor's description

A heap-based buffer overflow in Fortinet FortiSRA 1.5.0, 1.4.0 through 1.4.2, FortiPAM 1.5.0, 1.4.0 through 1.4.2, 1.3.0 through 1.3.1, 1.2.0, 1.1.0 through 1.1.2, 1.0.0 through 1.0.3, FortiProxy 7.6.0 through 7.6.1, 7.4.0 through 7.4.7, FortiOS 7.6.0 through 7.6.2, 7.4.0 through 7.4.6, 7.2.0 through 7.2.10, 7.0.2 through 7.0.16, FortiSwitchManager 7.2.1 through 7.2.5 allows attackers to escalate their privilege via specially crafted http requests.

## Sources

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

---

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.
