Fortinet FortiOS/FortiSwitchManager Heap Buffer Overflow Enabling Remote Code Execution
Fortinet disclosed a critical heap-based buffer overflow (CWE-122) in the cw_acd daemon affecting FortiOS and FortiSwitchManager, which can allow remote, unauthenticated attackers to execute arbitrary code or commands via specially crafted network traffic. Impacted versions span multiple FortiOS branches (6.4 through 7.6), along with FortiSASE and FortiSwitchManager releases; Fortinet advised immediate upgrades (e.g., FortiOS 7.6.4+, 7.4.9+, 7.2.12+, 7.0.18+, 6.4.17+; FortiSwitchManager 7.2.7+ and 7.0.6+), and noted FortiSASE 25.2.b is remediated in 25.2.c. The issue was reported as discovered internally by Fortinet’s product security team, and public reporting indicated no CVE was initially listed at publication time.
Separately, Fortinet also disclosed a low-severity SSRF in FortiSandbox tracked as CVE-2025-67685 (FG-IR-25-783), where an authenticated, high-privilege user can craft GUI-driven HTTP requests to proxy traffic to internal plaintext endpoints (CWE-918). While this SSRF could enable internal service exposure or pivoting in segmented environments, it requires privileged access and was not reported as actively exploited; Fortinet recommended upgrading FortiSandbox (e.g., 5.0.5+ for 5.0.0–5.0.4) and migrating off legacy 4.x branches. For the FortiOS/FortiSwitchManager RCE, interim mitigations included removing fabric access from interfaces and restricting CAPWAP-CONTROL (UDP 5246–5249) to trusted sources via local-in policies.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
3 events from the most recent confirmed update back to the earliest known activity.
CVE-2025-25249 is published for Fortinet heap overflow flaw
The vulnerability was cataloged as CVE-2025-25249, describing a heap-based buffer overflow in FortiOS, FortiSASE, and FortiSwitchManager that can be triggered by specially crafted packets. Public CVE details stated that successful exploitation could allow unauthorized code or command execution on affected systems.
Fortinet discloses critical FortiOS and FortiSwitchManager vulnerability
On January 13, 2026, Fortinet publicly disclosed the critical vulnerability affecting multiple FortiOS branches, certain FortiSASE releases, and multiple FortiSwitchManager versions. The company published fixed versions and urged customers to patch immediately because exposed fabric interfaces could lead to full system compromise.
Fortinet internally discovers heap overflow in cw_acd daemon
Fortinet Product Security Team member Gwendal Guégniaud identified a heap-based buffer overflow in the cw_acd daemon affecting FortiOS and FortiSwitchManager. The flaw could be triggered by specially crafted network packets to enable remote code or command execution.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


