# CVE-2026-24640: Stack-based Buffer Overflow in FortiWeb

- Vendor: Fortinet, FortiWeb
- Severity: MEDIUM (CVSS 3.1 5.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-087, https://fortiguard.fortinet.com/psirt/FG-IR-26-087
- Published: 2026-03-10; updated: 2026-11-06
- Page: https://patchtonight.com/cve/CVE-2026-24640/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiWeb 8.0.0 to 8.0.2 | 8.0.3 or later |
| FortiWeb 7.6.0 to 7.6.6 | 7.6.7 or later |
| FortiWeb 7.4.0 to 7.4.13 | Upgrade past 7.4.13; see the advisory |
| FortiWeb 7.2.0 to 7.2.13 | Upgrade past 7.2.13; see the advisory |
| FortiWeb 7.0.2 to 7.0.12 | Upgrade past 7.0.12; see the advisory |

## The vendor's description

A Stack-based Buffer Overflow vulnerability [CWE-121] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.2, FortiWeb 7.6.0 through 7.6.6, FortiWeb 7.4 all versions, FortiWeb 7.2 all versions, FortiWeb 7.0.2 through 7.0.12 may allow a remote authenticated attacker who can bypass stack protection and ASLR to execute arbitrary code or commands via crafted HTTP requests.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-087)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
