Quantum Secular Labs / Blog / Advisories
CVE-2025-25249: Fortinet Multiple Products Heap-based Buffer Overflow Vulnerability
CVE-2025-25249 is rated critical with a CVSS v3.1 base score of 9.8 and affects Fortinet Multiple Products, along with 2 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2026-09-09, which means exploitation in the wild has been observed.
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
Severity breakdown
CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-122: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected products
- Fortinet Fortios: from 6.4.0 before 7.0.18; from 7.2.0 before 7.2.12; from 7.4.0 before 7.4.9; from 7.6.0 before 7.6.4
- Fortinet Fortiswitchmanager: from 7.0.0 before 7.0.6; from 7.2.0 before 7.2.7
- Fortinet Fortisase: 25.1.39; 25.1.51
- Siemens Ruggedcom Ape1808 Firmware: all versions listed by NVD