CVE-2026-24640 Memory corruption in FortiWeb

Medium 5.9 Published Updated

Remote authenticated attackers can execute arbitrary code via crafted HTTP requests exploiting a stack-based buffer overflow in FortiWeb.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-24640?

CVE-2026-24640 is a medium-severity memory corruption vulnerability in Fortinet Fortiweb, published on 10 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2026-24640?

It affects 1 product.

Products include Fortinet Fortiweb.

How do I fix CVE-2026-24640?

No fix has been published for CVE-2026-24640 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-24640 being exploited?

There is no known exploitation of CVE-2026-24640 in the wild and no public exploit code.

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-849p-548g-9rj3.

Is CVE-2026-24640 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free