CVE-2025-58413: fortinet fortios Stack-based Buffer Overflow
Vulnerability summary
CVE-2025-58413 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in fortinet fortios. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 27.7% of scored vulnerabilities.
Timeline
- 18-11-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- CVE.orgCNA6.9MediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:W/RC:CDiffers
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
+0.04 pp
From 0.32% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
1 vendor · 2 products
References
2 links- fortiguard.fortinet.com/psirt/FG-IR-25-632Vendor Advisory