CVE-2025-25249
Modified Modified - Updated After Analysis
Heap-Based Buffer Overflow in Fortinet FortiOS Enables Code Execution

Publication date: 2026-01-13

Last updated on: 2026-06-09

Assigner: Fortinet, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-13
Last Modified
2026-06-09
Generated
2026-06-16
AI Q&A
2026-01-14
EPSS Evaluated
2026-06-14
NVD
Affected Vendors & Products
Showing 9 associated CPEs
Vendor Product Version / Range
fortinet fortios From 7.6.0 (inc) to 7.6.3 (inc)
fortinet fortios From 7.4.0 (inc) to 7.4.8 (inc)
fortinet fortios From 7.2.0 (inc) to 7.2.11 (inc)
fortinet fortios From 7.0.0 (inc) to 7.0.17 (inc)
fortinet fortios From 6.4.0 (inc) to 6.4.16 (inc)
fortinet fortisase 25.2.b
fortinet fortisase 25.1.a.2
fortinet fortiswitchmanager From 7.2.0 (inc) to 7.2.6 (inc)
fortinet fortiswitchmanager From 7.0.0 (inc) to 7.0.5 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 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().
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a heap-based buffer overflow in multiple versions of Fortinet FortiOS, FortiSASE, and FortiSwitchManager. It allows an attacker to execute unauthorized code or commands by sending specially crafted packets to the affected systems.

Impact Analysis

The vulnerability can allow attackers to execute unauthorized code or commands on affected devices, potentially leading to system compromise, data breaches, or disruption of network services.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-25249. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart