# CVE-2025-24477: Heap-based buffer overflow in FortiOS

- Vendor: Fortinet, FortiOS
- Severity: MEDIUM (CVSS 3.1 4)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-25-026, https://fortiguard.fortinet.com/psirt/FG-IR-25-026
- Published: 2025-07-15; updated: 2026-02-10
- Page: https://patchtonight.com/cve/CVE-2025-24477/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| 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.4 to 7.2.12 | 7.2.13 or later |

## The vendor's description

A heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.2, FortiOS 7.4.0 through 7.4.7, FortiOS 7.2.4 through 7.2.12 allows an attacker to escalate its privileges via a specially crafted CLI command

## Sources

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

---

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.
