Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-32756: Unauthenticated Remote Code Execution in Multiple Fortinet Products via Stack-Based Buffer Overflow

Published May 13, 2025 · Updated 16 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS30.9%98th percentile
CISA KEVYesAdded May 14, 2025
In the wildActivePer CISA KEV
Vendor
Fortinet
IdentifiersCVE-2025-32756CWE-121 · Stack-based Buffer Overflow

CVE-2025-32756 is a stack-based buffer overflow in the HTTP request processing of Fortinet FortiVoice, FortiMail, FortiNDR, FortiRecorder, and FortiCamera. A remote unauthenticated attacker can trigger the vulnerability through portal or administrative interfaces by sending an HTTP request containing a specially crafted hash cookie, allowing arbitrary code or command execution. Fortinet disclosed the vulnerability on May 13, 2025, after observing exploitation against FortiVoice appliances.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise the affected appliance, allowing unauthorized code execution, access to sensitive data and credentials, configuration modification, and disruption of its services. Observed post-compromise activity on FortiVoice included network scanning, clearing crash logs, enabling FastCGI debugging to capture credentials, and using captured credentials for SSH access. Compromised appliances can provide a foothold for further network intrusion.

Mitigation

If you can’t patch tonight, do this now.

If upgrading is not immediately possible, disable the affected HTTP/HTTPS administrative and portal interfaces. Restrict administrative access to trusted management networks and remove Internet exposure. Investigate unexpected FastCGI debugging, credential logging, cleared crash logs, unauthorized scheduled tasks, and altered authentication or web-service configurations. Review Fortinet's compromise indicators and investigate potentially compromised appliances; access restrictions do not remediate an existing compromise.

Remediation

Patch, then assume compromise.

Upgrade to the fixed release or a later supported release in the corresponding branch: FortiCamera 2.1.4; FortiMail 7.6.3, 7.4.5, 7.2.8, or 7.0.9; FortiNDR 7.6.1, 7.4.8, 7.2.5, or 7.0.7; FortiRecorder 7.2.4, 7.0.6, or 6.4.6; and FortiVoice 7.2.1, 7.0.7, or 6.4.11. Migrate FortiCamera 2.0 and 1.1 and FortiNDR 7.1, 1.5, 1.4, 1.3, 1.2, and 1.1 to fixed supported releases. Prioritize exposed appliances and FortiVoice deployments because exploitation has been confirmed.

Public exploits

Exploits

4 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
cve-2025-32756This repository consists of a single configuration file (config.json) that defines the parameters for a remote exploit targeting a service at 180.21.21.21:443 over HTTPS, specifically the /remote/login endpoint. The exploit is designed for an amd64, little-endian target with ASLR and stack canary mitigations disabled, but DEP/NX enabled. The attack uses a ROP chain to execute /bin/sh, opening a bind shell on port 5555. The exploit is delivered via a specially crafted HTTP GET request with the payload in a cookie. Post-exploitation, the exploit can execute commands on the target, such as writing the output of 'id' to /pwned.html. The repository does not contain code, only configuration, and is likely intended to be used with an external exploit framework or script that interprets this configuration.shan0ar · Disclosed Jul 23, 2025 · networkOperationalCVE-2025-32756-POCThis repository provides a Python proof-of-concept (PoC) exploit for CVE-2025-32756, a critical unauthenticated stack-based buffer overflow vulnerability in several Fortinet products (FortiVoice, FortiMail, FortiNDR, FortiRecorder, FortiCamera). The main exploit script, 'fortinet_cve_2025_32756_poc.py', allows users to scan for vulnerable devices and attempt exploitation by sending a specially crafted HTTP POST request to the '/remote/hostcheck_validate' endpoint with a malformed 'enc' parameter. The script demonstrates the vulnerability by triggering the overflow and modifying a single byte in memory, but does not execute arbitrary code or provide shell access. The repository also includes a README with detailed usage instructions and mitigation advice, a requirements.txt for dependencies, and a .gitignore. The exploit is network-based, targeting HTTPS services on the affected Fortinet devices. The code is structured to support both single-target exploitation and multi-target scanning, with options for IP ranges and output to CSV. This PoC is intended for research and educational purposes only and does not weaponize the vulnerability.kn0x0x · Disclosed Jun 5, 2025 · python · networkPoCAshwesker-CVE-2025-32756This repository contains a proof-of-concept (PoC) exploit for CVE-2025-32756, a stack-based buffer overflow vulnerability affecting multiple Fortinet products (FortiVoice, FortiMail, FortiNDR, FortiRecorder, FortiCamera) across several versions. The exploit is implemented in a single Python script (CVE-2025-32756.py), which constructs and sends specially crafted HTTP POST requests to the /remote/hostcheck_validate endpoint of a target device. The payload is designed to overflow a stack buffer by abusing the enc parameter, potentially leading to a crash, denial of service, or remote code execution. The script also interacts with the /remote/info endpoint to retrieve a salt value required for payload construction. The repository includes a README.md with detailed vulnerability, usage, and mitigation information, and a requirements.txt listing Python dependencies. The exploit is a PoC and does not include a post-exploitation payload; its primary purpose is to demonstrate the existence of the vulnerability.Ashwesker · Disclosed Jun 8, 2025 · python · networkPoCCVE-2025-32756-POCThis repository provides a Python proof-of-concept (PoC) exploit for CVE-2025-32756, a critical stack-based buffer overflow vulnerability in several Fortinet products (FortiVoice, FortiMail, FortiNDR, FortiRecorder, FortiCamera). The exploit targets the /remote/hostcheck_validate endpoint, abusing improper bounds checking in the processing of the 'enc' parameter. The main script, 'fortinet_cve_2025_32756_poc.py', constructs a specially crafted payload using a salt (retrieved from /remote/info) and a seed, then sends two HTTP POST requests to the vulnerable endpoint to trigger the overflow. The PoC demonstrates the vulnerability but does not deliver a shell or custom code execution payload. The repository also includes a README.md with detailed usage instructions, affected product versions, and mitigation advice, as well as a requirements.txt listing Python dependencies. The exploit is unauthenticated and works over HTTPS, making it a remote, network-based attack. The code is structured for clarity and research purposes, with debug options and clear separation of payload construction and delivery logic.alm6no5 · Disclosed Jun 9, 2025 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FortinetForticameraapplication
FortinetForticamera Firmwareoperating_system
FortinetFortimailapplication
FortinetFortindrapplication
FortinetFortirecorderapplication
FortinetFortivoiceapplication
FAQ

Frequently asked questions

Is CVE-2025-32756 exploited in the wild?
Yes. As of Nov 9, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 14, 2025.
Is there a public exploit for CVE-2025-32756?
Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2025-32756, the earliest disclosed Jun 5, 2025.
Is there a patch for CVE-2025-32756?
Upgrade to the fixed release or a later supported release in the corresponding branch: FortiCamera 2.1.4; FortiMail 7.6.3, 7.4.5, 7.2.8, or 7.0.9; FortiNDR 7.6.1, 7.4.8, 7.2.5, or 7.0.7; FortiRecorder 7.2.4, 7.0.6, or 6.4.6; and FortiVoice 7.2.1, 7.0.7, or 6.4.11. Migrate FortiCamera 2.0 and 1.1 and FortiNDR 7.1, 1.5, 1.4, 1.3, 1.2, and 1.1 to fixed supported releases.
What products are affected by CVE-2025-32756?
Fortinet Forticamera, Fortinet Fortimail, Fortinet Fortindr, Fortinet Fortirecorder, Fortinet Fortivoice, and 1 more.
How severe is CVE-2025-32756?
CVE-2025-32756 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 30.9% (98th percentile) as of Nov 9, 2026.
Activity feed

Recent activity

119 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+23 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity86Community discussion across Reddit, Mastodon, and other social sources.