FortiWeb
CVE-2024-21758: Stack-based buffer overflow in FortiWeb
A stack-based buffer overflow in Fortinet FortiWeb versions 7.2.0 through 7.2.7, and 7.4.0 through 7.4.1 may allow a privileged user to execute arbitrary code via specially crafted CLI commands, provided the user is able to evade FortiWeb stack protections.
Published
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiWeb 7.4.0 to 7.4.1 | 7.4.2 or later |
| FortiWeb 7.2.0 to 7.2.7 | 7.2.8 or later |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
A stack-based buffer overflow in Fortinet FortiWeb versions 7.2.0 through 7.2.7, and 7.4.0 through 7.4.1 may allow a privileged user to execute arbitrary code via specially crafted CLI commands, provided the user is able to evade FortiWeb stack protections.
Sources
KEV status, EPSS score and vendor data refreshed automatically, last on 10 Oct 2026.