Security networkFree AntivirusAntivirus ToolsInfoVirus

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

All 31 Fortinet vulnerabilities →