CVE-2025-32766 Memory corruption in FortiWeb
A privileged attacker can execute arbitrary code via crafted CLI commands due to a stack-based buffer overflow in FortiWeb.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-32766?
CVE-2025-32766 is a medium-severity memory corruption vulnerability in Fortinet Fortiweb, published on 12 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A stack-based buffer overflow vulnerability [CWE-121] in Fortinet FortiWeb CLI version 7.6.0 through 7.6.3 and before 7.4.8 allows a privileged attacker to execute arbitrary code or commands via crafted CLI commands
Weakness: CWE-121
Which versions are affected by CVE-2025-32766?
It affects 1 product.
Products include Fortinet Fortiweb.
How do I fix CVE-2025-32766?
No fix has been published for CVE-2025-32766 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-2025-32766 being exploited?
There is no known exploitation of CVE-2025-32766 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortiweb
Sources
Also known as GHSA-5j9x-j6c3-rwxp.