CVE-2025-58413: Execute unauthorized code or commands in Fortinet FortiOS
A stack-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 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiOS 6.2 all versions, FortiOS 6.0 all versions, FortiSASE 25.3.b allows attacker to execute unauthorized code or commands via specially crafted packets
AI Analysis
Technical Summary
This vulnerability is a stack-based buffer overflow in Fortinet FortiOS and FortiSASE 25.3.b that allows remote attackers to execute unauthorized code or commands via specially crafted packets. It affects multiple major versions of FortiOS, including all versions of 6.0, 6.2, 6.4, 7.0, and 7.2, as well as specific versions 7.4.0 through 7.4.8 and 7.6.0 through 7.6.3. The vulnerability has a CVSS 3.1 base score of 6.9 with attack vector as adjacent network, high attack complexity, no privileges required, no user interaction, and impacts confidentiality, integrity, and availability. The vendor has assigned a remediation level of workaround, indicating no official patch is yet available but mitigations may exist.
Potential Impact
Successful exploitation can lead to execution of unauthorized code or commands on affected FortiOS devices, potentially compromising confidentiality, integrity, and availability of the system. This could allow attackers to gain control over the device or disrupt its operations. However, no active exploitation has been reported so far.
Mitigation Recommendations
Currently, no official patch is available for this vulnerability. The vendor has assigned a remediation level of workaround, so users should consult Fortinet's official advisories for recommended workarounds to mitigate risk. Monitor vendor communications for updates on official fixes and apply them promptly once released.
CVE-2025-58413: Execute unauthorized code or commands in Fortinet FortiOS
Description
A stack-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 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiOS 6.2 all versions, FortiOS 6.0 all versions, FortiSASE 25.3.b allows attacker to execute unauthorized code or commands via specially crafted packets
CVSS v3.1
Score 6.9medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability is a stack-based buffer overflow in Fortinet FortiOS and FortiSASE 25.3.b that allows remote attackers to execute unauthorized code or commands via specially crafted packets. It affects multiple major versions of FortiOS, including all versions of 6.0, 6.2, 6.4, 7.0, and 7.2, as well as specific versions 7.4.0 through 7.4.8 and 7.6.0 through 7.6.3. The vulnerability has a CVSS 3.1 base score of 6.9 with attack vector as adjacent network, high attack complexity, no privileges required, no user interaction, and impacts confidentiality, integrity, and availability. The vendor has assigned a remediation level of workaround, indicating no official patch is yet available but mitigations may exist.
Potential Impact
Successful exploitation can lead to execution of unauthorized code or commands on affected FortiOS devices, potentially compromising confidentiality, integrity, and availability of the system. This could allow attackers to gain control over the device or disrupt its operations. However, no active exploitation has been reported so far.
Mitigation Recommendations
Currently, no official patch is available for this vulnerability. The vendor has assigned a remediation level of workaround, so users should consult Fortinet's official advisories for recommended workarounds to mitigate risk. Monitor vendor communications for updates on official fixes and apply them promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- fortinet
- Date Reserved
- 2025-09-01T09:44:13.174Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- workaround
Threat ID: 691ca897209f2030fa016967
Added to database: 11/18/2025, 17:10:47 UTC
Last enriched: 08/11/2026, 13:12:51 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 387
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.