CVE-2025-25249
Fortinet Multiple Products Heap-based Buffer Overflow Vulnerability
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
Description as published by the source, in English.
Key facts
- Published
- 2026-01-13
- Last modified
- 2026-09-10
- Assigned by
- psirt@fortinet.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.7 %
higher than 51 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2026-09-09, with a remediation deadline of 2026-09-12 for US federal agencies.
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.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fortinet | Fortios | ≥ 6.4.0, < 7.0.18 | Affected |
| Fortinet | Fortios | ≥ 7.2.0, < 7.2.12 | Affected |
| Fortinet | Fortios | ≥ 7.4.0, < 7.4.9 | Affected |
| Fortinet | Fortios | ≥ 7.6.0, < 7.6.4 | Affected |
| Fortinet | Fortisase | 25.1.39 | Affected |
| Fortinet | Fortisase | 25.1.51 | Affected |
| Fortinet | Fortiswitchmanager | ≥ 7.0.0, < 7.0.6 | Affected |
| Fortinet | Fortiswitchmanager | ≥ 7.2.0, < 7.2.7 | Affected |
| Siemens | Ruggedcom Ape1808 | all versions listed | Not affected |
| Siemens | Ruggedcom Ape1808 Firmware | all versions listed | Affected |
Weakness type
-
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
-
CWE-122: Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
References
- https://fortiguard.fortinet.com/psirt/FG-IR-25-084
- https://cert-portal.siemens.com/productcert/html/ssa-864900.html
- https://socradar.io/blog/cve-2025-25249-pivotc2-fortigate-rat/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-25249
Related at Berigo
Articles
-
Approved partners get access to a model that finds unknown vulnerabilities
Same product
2026-08-12
OpenAI is expanding Daybreak with two access levels and releasing GPT-5.6-Cyber, a model trained for tasks such as finding zero-day vulnerabilities a…
-
Official installers for QuickFox VPN carried a backdoor for nearly a year
Same product
2026-08-07
Fortinet has found that the QuickFox VPN installers spread a backdoor for nearly a year. The backdoor was only installed on machines that looked like…
-
FortiBleed: over 30,000 valid Fortinet credentials found in attacker hands
Same product
2026-06-18
SOCRadar has found 30,791 verified working credentials for Fortinet firewalls and VPN gateways across 194 countries.
-
Critical FortiClient EMS flaw exploited before the advisory landed
Same product
2026-04-04
CVE-2026-35616 enables unauthenticated code execution in FortiClient EMS 7.4.5 and 7.4.6. Fortinet has issued a hotfix to install now.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.