← Vulnerability feed

Vulnerability record · CVE-2025-25249 · published 13 January 2026

CVE-2025-25249: Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packets

Fortinet · Fortios

A heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated remote attacker trigger memory corruption through specially crafted packets. The flaw carries a CVSS 3.1 score of 9.8 and is listed in CISA KEV, so it warrants urgent patching on any internet-exposed instance.

9.8 CVSS 3.1 Critical CISA KEV since 9 Sep 2026 EPSS 3.9% · top 10.2% CWE-122 · Heap-based buffer overflowCWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score
3.9%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
4References, 1 tagged exploit
10 Sep 2026Last modified by NVD

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityCVSS 9.8 unauthenticated remote code execution on perimeter security appliances combined with CISA KEV listing and an exploit-tagged reference makes this an urgent patch target.

What it is

A heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated remote attacker trigger memory corruption through specially crafted packets. The flaw carries a CVSS 3.1 score of 9.8 and is listed in CISA KEV, so it warrants urgent patching on any internet-exposed instance.

Impact

Successful exploitation allows execution of unauthorized code or commands on the affected device, giving an attacker a foothold on a perimeter security appliance. Full compromise of confidentiality, integrity and availability is possible per the CVSS vector.

Attack surface

Reachable over the network with no authentication and no user interaction (AV:N/AC:L/PR:N/UI:N), via crafted packets sent to the affected FortiOS or FortiSwitchManager service. Any instance exposed to untrusted networks is a candidate target.

Exploitation

CVE-2025-25249 is in CISA KEV with a due date of 2026-09-12, and a third-party reference is tagged Exploit, indicating observed exploitation; EPSS 30-day probability is 0.024 (83rd percentile). No ransomware campaign use is documented.

What to do

  • Apply the Fortinet PSIRT FG-IR-25-084 firmware updates for FortiOS and FortiSwitchManager as the first action.
  • If immediate patching is not possible, follow CISA BOD 26-04 guidance and the vendor mitigation instructions, or discontinue use of the exposed product.
  • Remove management and service interfaces from direct internet exposure and restrict access to trusted networks.
  • Track Siemens advisory SSA-864900 for the affected Ruggedcom APE1808 firmware and apply the corresponding fix.
  • Verify patched status across all FortiOS 6.4, 7.0, 7.2, 7.4, 7.6 and FortiSwitchManager 7.0/7.2 assets, including FortiSASE deployments.

Detection

  • Hunt for crashes, restarts or unexpected process terminations on FortiOS and FortiSwitchManager devices that could indicate heap corruption attempts.
  • Monitor network traffic to exposed Fortinet management and service ports for anomalous or malformed packet patterns.
  • Review device logs for unauthorized command execution, new local accounts or configuration changes following suspicious packet activity.
  • Correlate KEV due-date compliance reporting to confirm all affected assets are patched within the CISA deadline.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-25249 to the Known Exploited Vulnerabilities catalog on 9 September 2026 as "Fortinet Multiple Products Heap-based Buffer Overflow Vulnerability". 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. Federal deadline 12 September 2026.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-25249 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-24858Fortinet FortiCloud SSO authentication bypass across registered devicesA CWE-288 authentication bypass in Fortinet FortiAnalyzer, FortiManager, FortiNAC-F, FortiOS, FortiProxy and FortiWeb lets an attacker with a FortiCl…KEVEPSS 86%analysed9.8CVE-2025-59718Fortinet FortiOS/FortiProxy SAML signature check bypass in FortiCloud SSOFortiOS, FortiProxy and FortiSwitchManager fail to properly verify the cryptographic signature of SAML responses used for FortiCloud SSO login. An un…KEVEPSS 68%analysed9.8CVE-2024-55591FortiOS and FortiProxy authentication bypass via Node.js websocketFortiOS 7.0.0 through 7.0.16 and FortiProxy 7.0.0 through 7.0.19 and 7.2.0 through 7.2.12 contain an authentication bypass (CWE-288) reachable throug…KEVEPSS 94%analysed9.8CVE-2024-23113Fortinet FortiOS and related products format string remote code executionA use of externally-controlled format string (CWE-134) in Fortinet FortiOS, FortiProxy, FortiPAM and FortiSwitchManager lets an attacker execute unau…KEVEPSS 62%analysed9.8CVE-2024-21762Fortinet FortiOS and FortiProxy out-of-bounds write in SSL VPNFortiOS and FortiProxy contain an out-of-bounds write (CWE-787) reachable through specifically crafted requests. The flaw affects a wide range of For…KEVEPSS 83%analysed9.8CVE-2023-27997Fortinet FortiOS and FortiProxy SSL-VPN heap buffer overflowFortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow (CWE-122/CWE-787) reachable through specifically crafted requests. It is a pre-au…KEVEPSS 86%analysed9.8CVE-2022-42475FortiOS and FortiProxy SSL-VPN heap buffer overflow allows remote code executionA heap-based buffer overflow (CWE-122/CWE-787) in the FortiOS and FortiProxy SSL-VPN component lets a remote attacker trigger memory corruption throu…KEVEPSS 99%analysed9.8CVE-2022-40684Fortinet FortiOS, FortiProxy and FortiSwitchManager admin interface auth bypassAn authentication bypass (CWE-288, alternate path or channel) in Fortinet FortiOS 7.2.0-7.2.1 and 7.0.0-7.0.6, FortiProxy 7.2.0 and 7.0.0-7.0.6, and …KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2025-25249), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.