Home / Fortinet / FortiOS / CVE-2025-64157
CVE-2025-64157: is it exploited, and which versions of Fortinet FortiOS are affected and fixed?
CVE-2025-64157 is a format string flaw vulnerability in Fortinet FortiOS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: FortiOS from 7.6.0 through 7.6.4, FortiOS from 7.4.0 through 7.4.9, FortiOS from 7.2.0 through 7.2.11 and 1 more (CVE record by fortinet). Fixed in 7.4.10 and 7.6.5 (NVD). Severity: Medium (6.7, CVSS 3.1, from fortinet).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2025-64157?
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.
From the CVE record by fortinet, last updated May 12, 2026, 12:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Fortinet | FortiOS | from 7.6.0 through 7.6.4 from 7.4.0 through 7.4.9 from 7.2.0 through 7.2.11 from 7.0.0 through 7.0.19 |
As the CVE record by fortinet states it, last updated May 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fortinet | fortios | from 7.0.0 before 7.4.10 | operating system |
| fortinet | fortios | from 7.6.0 before 7.6.5 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 09:53 UTC.
How severe is CVE-2025-64157?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:X | fortinet |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-64157 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 11, 2026)
- EPSS
- 1.49% probability of exploitation activity in the next 30 days, percentile 74.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-134 Use of Externally-Controlled Format String
How do I fix it? (from the CVE record)
Upgrade to FortiOS version 7.6.5 or above Upgrade to FortiOS version 7.4.10 or above Upgrade to FortiProxy version 7.6.5 or above Upgrade to FortiPAM version 1.7.2 or above Upgrade to FortiSwitchManager version 7.2.8 or above Fortinet remediated this issue in FortiSASE version 25.4.c (not released) and hence customers do not need to perform any action.
Where are the vendor advisories and references?
- https://fortiguard.fortinet.com/psirt/FG-IR-25-795
- https://cert-portal.siemens.com/productcert/html/ssa-975644.html
When was it published, and where is the official record?
- Reserved
- October 28, 2025
- Published
- February 10, 2026, 15:39 UTC
- CVE record updated
- May 12, 2026, 12:08 UTC by fortinet
- NVD
- Modified, last modified June 17, 2026, 09:53 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect FortiOS?
- Apr 14, 2026CVE-2025-61624 Fortinet FortiOS: path traversal (reading or writing files outside the intended folder) exploited
- Feb 10, 2026CVE-2025-68686 Fortinet FortiOS: information disclosure exploited
- Jan 27, 2026CVE-2026-24858 Fortinet FortiWeb: authentication bypass through another path exploited
- Jan 13, 2026CVE-2025-25249 Fortinet FortiSwitchManager: heap buffer overflow exploited
- Dec 9, 2025CVE-2025-59718 Fortinet FortiSwitchManager: cryptographic signature not verified exploited
- Feb 11, 2025CVE-2025-24472 Fortinet FortiOS: authentication bypass through another path exploited
- Jan 14, 2025CVE-2024-55591 Fortinet FortiOS: authentication bypass through another path exploited
- Feb 15, 2024CVE-2024-23113 Fortinet FortiSwitchManager: format string flaw exploited
Questions about CVE-2025-64157
Is CVE-2025-64157 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Fortinet FortiOS are affected by CVE-2025-64157?
FortiOS from 7.6.0 through 7.6.4, FortiOS from 7.4.0 through 7.4.9, FortiOS from 7.2.0 through 7.2.11 and FortiOS from 7.0.0 through 7.0.19, per the CVE record by fortinet. The tables above give every range the sources list.
Which version fixes CVE-2025-64157?
7.4.10 and 7.6.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-64157?
Medium (6.7, CVSS 3.1, from fortinet). The severity table above shows each score with its source.
Where is the official record of CVE-2025-64157?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.