What is Fortinet FortiVoice?
Fortinet FortiVoice is an enterprise IP PBX and unified communications platform — the phone system for businesses. FortiMail is Fortinet's enterprise email security gateway. FortiNDR is Fortinet's network detection and response appliance for AI-based network threat analytics. FortiRecorder and FortiCamera are surveillance/video recording systems. All affected products share a common vulnerable code component in their HTTP request processing stack, making CVE-2025-32756 a cross-product vulnerability requiring patches across multiple Fortinet product lines.
Overview
CVE-2025-32756 is a critical stack-based buffer overflow vulnerability (CWE-121, CVSS 9.8) affecting Fortinet FortiVoice, FortiMail, FortiNDR, FortiRecorder, and FortiCamera. A single unauthenticated HTTP request triggers a stack overflow in the /remote/hostcheck_validate endpoint's handling of the enc parameter, enabling arbitrary code execution as root. Fortinet confirmed active in-the-wild exploitation against FortiVoice instances as a zero-day before the advisory was published. Attacker TTPs included persistent cron jobs for credential harvesting and log erasure to cover tracks. CISA added it to the KEV catalog one day after the advisory.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| FortiVoice | 6.4.0–6.4.10, 7.0.0–7.0.6, 7.2.0 | 6.4.11, 7.0.7, 7.2.1 |
| FortiMail | 7.0.0–7.0.8, 7.2.0–7.2.7, 7.4.0–7.4.4, 7.6.0–7.6.2 | 7.0.9, 7.2.8, 7.4.5, 7.6.3 |
| FortiNDR | 7.0.0–7.0.6, 7.2.0–7.2.4, 7.4.0–7.4.7, 7.6.0 | 7.0.7, 7.2.5, 7.4.8, 7.6.1 |
| FortiRecorder | 6.4.0–6.4.5, 7.0.0–7.0.5, 7.2.0–7.2.3 | 6.4.6, 7.0.6, 7.2.4 |
| FortiCamera | 1.1.x, 2.0.x, 2.1.0–2.1.3 | Per FortiGuard advisory |
Technical Details
The vulnerability (CWE-121: Stack-Based Buffer Overflow) is in the shared HTTP processing component across all affected products. Specifically, the /remote/hostcheck_validate endpoint processes the enc parameter from HTTP requests without adequate bounds checking. The parameter value is copied into a fixed-size stack buffer; an oversized value overflows the buffer and overwrites the saved return address on the stack. An attacker sends a single crafted HTTP or HTTPS request with a malicious enc value, redirecting execution to attacker-controlled code and running it as root.
The attack requires no authentication, no session, and no prior knowledge of the environment — only network access to the affected appliance's web interface (typically port 443).
Discovery
Fortinet's PSIRT confirmed active in-the-wild exploitation before the advisory; no external researcher is credited for the initial discovery.
Exploitation Context
Fortinet confirmed active zero-day exploitation of FortiVoice instances before the May 13, 2025 advisory. Observed attacker TTPs (post-exploitation):
- Network scanning from compromised devices targeting adjacent systems
- Cron job installation for persistent credential harvesting from SSH login processes
- fcgi debug mode activation to log credentials from SSH login events to
/data/logfiles/fcgi.log - Log erasure to remove exploitation artifacts (
/var/log/messages, crash logs) - Attack infrastructure IP addresses: 198.105.127.124, 43.228.217.173, 43.228.217.82, 156.236.76.90, 218.187.69.244, 218.187.69.59
CISA added CVE-2025-32756 to the KEV catalog on 14 May 2025. No specific named threat actor has been publicly attributed.
Remediation
- Apply fixes for all affected Fortinet products in your environment — all five products share the vulnerable component and all require patching.
- Check for attacker persistence indicators:
- Review crontab entries on affected appliances for unauthorized jobs
- Check if fcgi debug mode is enabled: review
/etc/fcgi.conffor debug settings - Examine
/data/logfiles/fcgi.logfor captured credentials - Review syslog and system logs for erasure evidence
- Block the attacker IPs at perimeter firewalls: 198.105.127.124, 43.228.217.173, 43.228.217.82, 156.236.76.90, 218.187.69.244, 218.187.69.59
- Restrict web interface access — limit HTTPS management access to trusted administrative IP ranges for all affected appliances.
- Rotate all credentials accessible from FortiVoice (VoIP extensions, admin accounts) and FortiMail (SMTP relay credentials, admin passwords) if exploitation is suspected.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2025-32756 |
| Vendor / Product | Fortinet — Multiple Products |
| NVD Published | 2025-05-13 |
| NVD Last Modified | 2026-01-14 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-121 find similar ↗ |
| CISA KEV Added | 2025-05-14 |
| CISA KEV Deadline | 2025-06-04 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2025-05-13 | FortiGuard advisory FG-IR-25-254 published; CVE published; patches released for all affected products |
| 2025-05-14 | CISA adds to Known Exploited Vulnerabilities catalog; Horizon3.ai publishes PoC |
| 2025-06-04 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Fortinet PSIRT Advisory — FG-IR-25-254 | Vendor Advisory |
| NVD — CVE-2025-32756 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Rapid7 — Fortinet CVE-2025-32756 Exploited in the Wild | Security Research |
| Horizon3.ai — CVE-2025-32756 Attack Analysis | Security Research |
| Fortinet Patches CVE-2025-32756 Zero-Day | News |