TL;DR: Patch affected Fortinet FortiOS and FortiSwitchManager versions immediately in line with Fortinet's vendor advisory and CISA BOD 26-04 guidance. If patching is not feasible, follow vendor mitigation instructions or discontinue use of the affected product.
What Is the Flaw?
CVE-2025-25249 is a heap-based buffer overflow (CWE-122 / CWE-787) affecting multiple Fortinet products. The vulnerability exists in the way affected software processes incoming network packets. When an attacker sends a specially crafted packet, the software writes data beyond the bounds of an allocated heap buffer, potentially corrupting adjacent memory in ways that can be leveraged to redirect program execution.
The CVSS 3.1 score is 8.1 (HIGH) with the vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Key attributes of this vector:
- Network-accessible (AV:N): No physical or local access is required; the attack can be launched over the network.
- No privileges required (PR:N): The attacker does not need a valid account or credentials on the target device.
- No user interaction (UI:N): The attack does not depend on any action from a legitimate user.
- High attack complexity (AC:H): Exploitation requires specific conditions to be met, though the precise conditions are not publicly detailed in the available facts.
- High confidentiality, integrity, and availability impact (C:H/I:H/A:H): Successful exploitation can result in full compromise of the affected device.
According to NVD, the vulnerability allows an attacker to execute unauthorized code or commands via the specially crafted packets.
Affected Products and Versions
The following Fortinet products and version ranges are confirmed affected according to NVD and the CISA KEV catalog entry:
| Product | Affected Version Range |
|---|---|
| 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 |
The CISA KEV catalog summary also references FortiSASE as an affected product alongside FortiOS and FortiSwitchManager. Organizations using any of these products should treat the entire affected version range as vulnerable until a patched version has been applied.
FortiOS is the operating system that underpins Fortinet's FortiGate next-generation firewalls and many other security appliances, meaning this vulnerability can affect perimeter security devices that are, by design, internet-facing. FortiSwitchManager is used to manage FortiSwitch deployments centrally.
Potential Impact
A successful exploit of CVE-2025-25249 could grant an unauthenticated, remote attacker the ability to execute arbitrary code or operating-system commands on the affected device. For network security appliances such as FortiGate firewalls, this represents a severe risk because:
- Perimeter device compromise: Firewalls and network managers often sit at the boundary between untrusted and trusted networks. Compromise of these devices can render downstream defenses ineffective.
- Privileged vantage point: Code execution on a firewall or network manager may allow an attacker to intercept, modify, or redirect traffic, establish persistent access, or pivot deeper into the internal network.
- Full triad impact: The CVSS scoring reflects high impact to confidentiality, integrity, and availability — meaning sensitive configuration data, encryption keys, or VPN credentials could be exposed; device configuration could be altered; and the device itself could be rendered inoperable.
- Confirmed exploitation: This vulnerability was added to the CISA KEV catalog on 2026-09-09, confirming that exploitation in the wild has been observed. Organizations should treat this as an actively weaponized flaw.
The high attack complexity (AC:H) in the CVSS vector suggests that exploitation is not trivially repeatable by every attacker, but the KEV listing confirms that at least some threat actors have succeeded in exploiting it under real-world conditions.
What to Do Now
Given that this vulnerability is listed in the CISA KEV catalog, remediation is urgent. Follow these steps:
- Identify affected assets: Audit your environment for any Fortinet FortiOS, FortiSwitchManager, or FortiSASE deployments. Cross-reference running versions against the affected ranges listed above.
- Apply vendor patches: Consult Fortinet's official security advisory for this CVE and apply the patched versions they specify. Fortinet publishes advisories through the Fortinet PSIRT portal at
fortiguard.fortinet.com. - Follow CISA BOD 26-04 guidance: CISA's required action explicitly references BOD 26-04 (Prioritizing Security Updates Based on Risk) and its forensics triage requirements. Federal civilian executive branch (FCEB) agencies are obligated to comply; all other organizations are strongly encouraged to treat KEV entries with equivalent urgency.
- Prioritize internet-facing devices: Devices with management interfaces or VPN endpoints directly reachable from the internet carry the highest risk. Consider restricting management-plane access to trusted IP ranges while patching is in progress.
- Apply mitigations if patching is not immediately possible: Where a fixed version cannot be applied right away, review Fortinet's advisory for any available workarounds or mitigations. CISA's required action states that organizations should discontinue use of the product if mitigations are unavailable.
- Conduct forensic triage: Because exploitation has been confirmed in the wild and CISA references forensics triage requirements, consider reviewing device logs, configuration integrity, and network traffic for indicators of compromise, particularly on any devices that were internet-exposed during the vulnerable period.
- Maintain inventory and patch tracking: Document which assets were patched, when, and by whom. Retain evidence for internal governance and any applicable regulatory requirements.
How External Testing Surfaces This Exposure
Point-in-time external vulnerability assessments can help organizations understand whether vulnerable Fortinet products are reachable from the internet and whether they are running unpatched versions. Specifically, external scanning and assessment activities can:
- Identify exposed management interfaces: Determine whether FortiOS or FortiSwitchManager administrative or VPN endpoints are reachable from outside the organization's perimeter, which directly affects exploitability.
- Fingerprint software versions: Banner grabbing and service fingerprinting techniques can reveal the version of FortiOS or related software running on a device, allowing comparison against the known-affected version ranges.
- Map attack surface: An accurate inventory of internet-facing Fortinet assets is a prerequisite for prioritizing patching effort. External assessments provide an attacker's-eye view of which assets are most at risk.
- Validate patch deployment: After applying vendor-supplied patches, a follow-up external scan can confirm that the patched version is reflected in externally visible service banners, providing evidence that the remediation reached the exposed interface.
Because CVE-2025-25249 is network-exploitable without credentials, the attack surface is defined primarily by which devices are reachable over the network. Reducing that exposure — through firewall rules, access control lists, or moving management interfaces off public-facing networks — is a meaningful compensating control even before patching is complete.
Sources & further reading: NVD CVE-2025-25249 and the CISA KEV catalog are the authority on affected and fixed versions. Vendor/independent analysis: fortiguard.fortinet.com, cert-portal.siemens.com, socradar.io, cisa.gov. This advisory contains no exploit code.
Frequently asked questions
Is CVE-2025-25249 being actively exploited?
Yes. CVE-2025-25249 was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-09-09, which confirms that exploitation in real-world environments has been observed. Organizations should treat this as an actively weaponized vulnerability and prioritize patching accordingly.
Do attackers need credentials or network access to exploit this?
According to the CVSS vector (PR:N, UI:N, AV:N), no credentials or user interaction are required, and the attack can be launched over the network. However, the high attack complexity (AC:H) means specific conditions must be met for exploitation to succeed. The KEV listing confirms those conditions have been met in practice.
Which versions of FortiOS are safe from this vulnerability?
The NVD advisory lists specific affected version ranges for FortiOS (6.4 all versions; 7.0.0–7.0.17; 7.2.0–7.2.11; 7.4.0–7.4.8; 7.6.0–7.6.3) and FortiSwitchManager (7.0.0–7.0.5; 7.2.0–7.2.6). To determine which versions are fixed, consult Fortinet's official PSIRT advisory for CVE-2025-25249 directly at fortiguard.fortinet.com.
What is the CISA BOD 26-04 requirement mentioned in the remediation guidance?
CISA Binding Operational Directive 26-04 instructs federal civilian executive branch agencies to prioritize security updates based on risk, with specific timelines tied to KEV catalog entries. CISA's required action for this CVE also references forensics triage requirements. While BOD 26-04 is binding only for FCEB agencies, CISA recommends all organizations use the KEV catalog and BOD guidance to inform their own patching priorities.