CVE-2025-25249
Fortinet Multiple Products · Fortinet Multiple Products Heap-based Buffer Overflow Vulnerability
Actively exploited
What is CVE-2025-25249?
The heap-based buffer overflow vulnerability in various Fortinet products allows a remote attacker to execute unauthorized code or commands on a targeted system. By sending specially crafted network packets to the affected software, an attacker can trigger this flaw to gain control over the device. This vulnerability is currently being actively exploited in the wild, making it a significant security risk for any organization using the impacted products.
Administrators of Fortinet FortiOS, FortiSwitchManager, and FortiSASE should be concerned about this vulnerability. To protect your network, you must apply the security update provided by the vendor immediately. Check the official Fortinet security website for the specific instructions on how to patch your systems. Promptly installing these updates is the only way to mitigate the risk of unauthorized command execution.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
CISA description
Fortinet FortiOS, FortiSwitchManager, and FortiSASE contain a heap-based buffer overflow vulnerability that allows an attacker to execute unauthorized code or commands via specially crafted packets.
CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on 9 September 2026, which means there is reliable evidence that attackers are using it in real attacks.
What to do
Install the security update or apply the mitigations published by Fortinet as soon as possible. If no fix is available, follow the vendor's workaround or stop using the affected product until it can be patched. For internet-facing systems, also check for signs of compromise, because the flaw may have been used before you patched.
References
Other exploited Fortinet vulnerabilities
- CVE-2026-104286 Fortinet FortiMail – Fortinet FortiMail Path Traversal Vulnerabilityadded
1 October 2026 - CVE-2025-68686 Fortinet FortiOS – Fortinet FortiOS Exposure of Sensitive Information to an Unauthorized Actor Vulnerabilityadded
27 July 2026 - CVE-2026-39808 Fortinet FortiSandbox – Fortinet FortiSandbox OS Command Injection Vulnerabilityadded
16 July 2026 - CVE-2026-25089 Fortinet FortiSandbox – Fortinet FortiSandbox OS Command Injection Vulnerabilityadded
16 July 2026 - CVE-2026-21643 Fortinet FortiClient EMS – Fortinet FortiClient EMS SQL Injection Vulnerabilityadded
13 April 2026 - CVE-2026-35616 Fortinet FortiClient EMS – Fortinet FortiClient EMS Improper Access Control Vulnerabilityadded
6 April 2026 - CVE-2026-24858 Fortinet Multiple Products – Fortinet Multiple Products Authentication Bypass Using an Alternate Path or Channel Vulnerabilityadded
27 January 2026 - CVE-2025-59718 Fortinet Multiple Products – Fortinet Multiple Products Improper Verification of Cryptographic Signature Vulnerabilityadded
16 December 2025