CVE-2025-25249: Vulnerability in Fortinet FortiOS
Actively exploited. 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.
Exploited in the wild, CWE-122, CWE-787
- Exploitation
- Confirmed 9 Sept 2026
- Severity
- 8.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 12 Sept 2026
Details
- Advisory ID
- GHSA-mj8x-m8f5-x4w8
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-122, CWE-787
- Published
- 13 Jan 2026
- Last change
- 15 Oct 2026
Affected products
Affected versions and the first fixed release
- 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; Versions 7.4.0 ≤7.4.7, 7.2.4 ≤7.2.11, 7.6.0 ≤7.6.2. Fixed in 7.0.18, 7.2.12, 7.4.9, 7.6.4
- Fortinet FortiSwitchManager From 7.0.0 before 7.0.6; From 7.2.0 before 7.2.7; Version 7.2.2 ≤7.2.5. Fixed in 7.0.6, 7.2.7
- Fortinet Fortisase Versions 25.1.39, 25.1.51. No fixed version recorded
- Siemens Ruggedcom Ape1808 Firmware All versions. No fixed version recorded
Advisories
Vendor and security advisories
- fortiguard.fortinet.com/psirt/FG-IR-25-084
- cert-portal.siemens.com/productcert/html/ssa-864900.html
- socradar.io/blog/cve-2025-25249-pivotc2-fortigate-rat/
Related
- FortiOS vulnerabilities Recent advisories, watch this product
- FortiSwitchManager vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only