CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap overflow
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
3.74%
3.74% chance of exploitation in the next 30 days, higher than 90.1% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 9 Sept 2026.
US federal deadline to fix: 12 Sept 2026.
In plain words
An unauthenticated remote attacker can run unauthorized code or commands on affected devices by sending specially crafted packets, with no user interaction needed. Multiple FortiOS branches from 6.4 to 7.6, FortiSwitchManager 7.0 and 7.2, FortiSASE and some Siemens RUGGEDCOM APE1808 devices are listed as affected. CISA reports active exploitation, so apply the vendor fixes or mitigations now and check your exposure to the internet.
Official description
A heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2.0 through 7.2.11, FortiOS 7.0.0 through 7.0.17, FortiOS 6.4 all versions, FortiSwitchManager 7.2.0 through 7.2.6, FortiSwitchManager 7.0.0 through 7.0.5 allows attacker to execute unauthorized code or commands via specially crafted packets
Source: NVD · CNA: psirt@fortinet.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 9 Sept 2026.
US federal agencies must fix it by 12 Sept 2026. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Check whether you're affected
Find every system running Fortinet Fortios, Fortinet Fortiswitchmanager, Fortinet Fortisase, Siemens Ruggedcom Ape1808 Firmware and compare its version with the affected versions.
Update to a fixed version
- Update Fortios to 7.0.18, 7.2.12, 7.4.9, 7.6.4 or later, on the branch you run.
- Update Fortiswitchmanager to 7.0.6, 7.2.7 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Fortinet Fortios | ≥ 6.4.0, < 7.0.18 · ≥ 7.2.0, < 7.2.12 · ≥ 7.4.0, < 7.4.9 · ≥ 7.6.0, < 7.6.4 · ≥ 7.6.0, ≤ 7.6.2 · ≥ 7.4.0, ≤ 7.4.7 |
| Fortinet Fortiswitchmanager | ≥ 7.0.0, < 7.0.6 · ≥ 7.2.0, < 7.2.7 · ≥ 7.2.2, ≤ 7.2.5 |
| Fortinet Fortisase | 25.1.39 · 25.1.51 |
| Siemens Ruggedcom Ape1808 Firmware | Not specified |
| Siemens RUGGEDCOM APE1808 | Not specified |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-25249 being exploited?
Yes. CISA added CVE-2025-25249 to its Known Exploited Vulnerabilities catalog on 9 Sept 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 3.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-25249?
CVE-2025-25249 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Fortinet Fortios (≥ 6.4.0, < 7.0.18; ≥ 7.2.0, < 7.2.12; ≥ 7.4.0, < 7.4.9; ≥ 7.6.0, < 7.6.4; ≥ 7.6.0, ≤ 7.6.2; ≥ 7.4.0, ≤ 7.4.7), Fortinet Fortiswitchmanager (≥ 7.0.0, < 7.0.6; ≥ 7.2.0, < 7.2.7; ≥ 7.2.2, ≤ 7.2.5), Fortinet Fortisase (25.1.39; 25.1.51), Siemens Ruggedcom Ape1808 Firmware, Siemens RUGGEDCOM APE1808
Is there a patch for CVE-2025-25249?
The official record links to vendor advisories or patches; see “What to do” above.
References
- fortiguard.fortinet.com/psirt/FG-IR-25-084(Mitigation, Vendor Advisory)
- socradar.io/blog/cve-2025-25249-pivotc2-fortigate-rat/(Exploit, Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-864900.html(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-25249(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.