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.
In short
CVE-2025-25249 (Fortinet Multiple Products Heap-based Buffer Overflow) has a CVSS 3.1 base score of 8.1, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 9 Sept 2026. Fixed in Fortinet Fortiswitchmanager 7.0.6, Fortinet FortiOS 7.0.18 or later. The Dutch NCSC covers it in advisory NCSC-2026-0015.
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 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Fortinet Fortisase25.1.39 · 25.1.51
- Fortinet Fortiswitchmanager≥ 7.0.0 < 7.0.6 · ≥ 7.2.0 < 7.2.7
- Fortinet FortiOS≥ 6.4.0 < 7.0.18 · ≥ 7.2.0 < 7.2.12 · ≥ 7.4.0 < 7.4.9 · ≥ 7.6.0 < 7.6.4
- Siemens Ruggedcom Ape1808 Firmwareall versions
Remediation
Fixed in- Fortinet Fortiswitchmanager≥ 7.0.6
- Fortinet FortiOS≥ 7.0.18
References
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
