CVE-2025-25249: Fortinet Multiple Products Heap-based Buffer Overflow
This Fortinet advisory covers CVE-2025-25249 in FortiOS.
- CVE-2025-25249
Am I affected by CVE-2025-25249?
You are affected if you run FortiOS at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| 7.6.0 | FortiOS: 7.6.4 |
| 7.4.0 | FortiOS: 7.4.9 |
| 7.2.0 | FortiSwitchManager: 7.2.7, FortiOS: 7.2.12 |
| 7.0.0 | FortiSwitchManager: 7.0.6, FortiOS: 7.0.18 |
| all versions | No fixed release on this branch listed by the vendor |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High, CVSS 8.1
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:W/RC:C· base score 7.4, scored by fortinetAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-122 Execute unauthorized code or commands
- EPSS
- 2.30% chance of exploitation in the next 30 days (84th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: active. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Listed ; federal due date
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
CVE-2025-25249 in the CISA Known Exploited Vulnerabilities catalog
- CISA name:
- Fortinet Multiple Products Heap-based Buffer Overflow Vulnerability
- CISA description:
- 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.
- 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.
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
Text from the source record.
How to fix CVE-2025-25249
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Upgrade to a fixed release: FortiSwitchManager: 7.2.7, FortiSwitchManager: 7.0.6, FortiOS: 7.6.4, FortiOS: 7.4.9, FortiOS: 7.2.12, FortiOS: 7.0.18 or later.
Support dates for the fixed release lines
- Fortinet FortiOS 7.2: support ended
- Fortinet FortiOS 7.0: support ended
- Fortinet FortiOS 7.6: support ends
- Fortinet FortiOS 7.4: support ends
CVE-2025-25249 questions
Is CVE-2025-25249 being exploited?
Yes. CISA lists it in its Known Exploited Vulnerabilities catalog (added ), which means CISA has evidence of attacks in the wild.
Am I affected by CVE-2025-25249?
You are affected if you run FortiOS at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2025-25249?
Upgrade to a fixed release Fortinet lists for your version: FortiSwitchManager: 7.2.7, FortiSwitchManager: 7.0.6, FortiOS: 7.6.4, FortiOS: 7.4.9 and 2 more. The advisory's own guidance is above.
How likely is CVE-2025-25249 to be exploited?
FIRST's EPSS model gives it a 2.30% chance of exploitation in the next 30 days (84th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2025-25249?
Fortinet rates it high, CVSS 8.1 out of 10.
More Fortinet advisories
CVE-2026-121528Nov 11, 2026FortiOS improper certificate validationCVE-2026-126259Nov 11, 2026Unauthenticated adjacent command execution via HACVE-2026-126256Nov 11, 2026Out-of-bounds read in kernelCVE-2026-126254Nov 11, 2026numeric truncation error vulnerability in Fortinet FortiOS 8.0.0 through 8.0.1, FortiOSCVE-2026-126258Nov 11, 2026Stack buffer overflow in wadCVE-2026-121530Nov 10, 2026FortiOS authentication bypass
Get an email when Fortinet FortiGate publishes the next one.
See Fortinet FortiGate's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).