CVE-2025-58413Fortinet Fortios Stack-based Buffer Overflow
NVDCVSS scored by psirt@fortinet.com
Vulnerability Summary
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 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorAdjacent
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Fortinet Fortios >= 6.0.0 and < 7.4.9
- Fortinet Fortios >= 7.6.0 and < 7.6.4
- Fortinet Fortisase
- Fortinet FortiOS >= 7.6.0 and <= 7.6.3
- Fortinet FortiOS >= 7.4.0 and <= 7.4.8
- Fortinet FortiOS >= 7.2.0 and <= 7.2.12
- Fortinet FortiOS >= 7.0.0 and <= 7.0.18
- Fortinet FortiOS >= 6.4.0 and <= 6.4.16
- Fortinet FortiOS >= 6.2.0 and <= 6.2.17
- Fortinet FortiOS >= 6.0.0 and <= 6.0.18
- Fortinet FortiSASE 25.3.b
- Siemens RUGGEDCOM APE1808 < *
- Fortinet Fortios 7.4.9
- Fortinet Fortios 7.6.4
- Fortinet FortiOS 7.6.3
- Fortinet FortiOS 7.4.8
- Fortinet FortiOS 7.2.12
- Fortinet FortiOS 7.0.18
- Fortinet FortiOS 6.4.16
- Fortinet FortiOS 6.2.17
- Fortinet FortiOS 6.0.18
- Siemens RUGGEDCOM APE1808 *
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Fortinet Fortios and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 18, 2025Published
- Oct 18, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Fortinet CVEsYou are reading CVE-2025-58413. Get an email when KEV listings, exploits or new CVEs match your stack.
Notify me about Fortinet CVEsAll Fortinet vulnerabilities →
External References
Data last checked: Nov 25, 2026 15:40 UTC