CVE-2025-25249
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
In plain language
AI Act nowCVE-2025-25249 is a Fortinet software weakness where a remote attacker can crash or potentially run unauthorized code using specially crafted network traffic; if you run affected Fortinet products that are reachable from the internet, you should act now to update.
CVE-2025-25249 is a heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS/FortiSwitchManager that can be triggered remotely through specially crafted packets; it is listed in CISA KEV with a remediation due date of 2026-09-12, meaning it has been seen as actionable in the field.
What to do now
- Check whether you run any affected products/versions (FortiOS, FortiSwitchManager, fortisase, fortiswitchmanager, ruggedcom ape1808 firmware) and whether they are exposed to the internet.
- Plan an update using the fixed versions: FortiOS fixed in 7.0.18; FortiSwitchManager fixed in 7.0.6 (and also 7.2.7+ for FortiSwitchManager).
- If you use FortiSASE, note that Fortinet remediated the issue in FortiSASE 25.2.c.
- After updating, confirm services are back to normal and that the device is no longer vulnerable per your version/branch.
CVSS Vector Breakdown
AV:NAttack VectorAC:HAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Required action: 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.
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-25249 and every CVE in our database. Create a free account — no credit card required.
Create Free Account