# CVE-2025-64157: Use of externally-controlled format string in FortiOS

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 7.6.0 to 7.6.4 | 7.6.5 or later |
| FortiOS 7.4.0 to 7.4.9 | 7.4.10 or later |
| FortiOS 7.2.0 to 7.2.11 | Upgrade past 7.2.11; see the advisory |
| FortiOS 7.0.0 to 7.0.19 | Upgrade past 7.0.19; see the advisory |

## The vendor's description

A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.6.0 through 7.6.4, FortiOS 7.4.0 through 7.4.9, FortiOS 7.2.0 through 7.2.11, FortiOS 7.0 all versions allows an authenticated admin to execute unauthorized code or commands via specifically crafted configuration.

## Sources

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

---

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.
