CVE-2025-40597: Unauthenticated Heap Buffer Overflow in SonicWall SMA 100 Web Interface
- Vendor
- Sonicwall
CVE-2025-40597 is a heap-based buffer overflow in the SonicWall SMA 100 Series web interface. The flaw resides in the mod_httprp.so HTTP-request handling component and results from incorrect use of a safer sprintf variant while processing a malicious Host header. The condition can corrupt adjacent heap memory, allowing an unauthenticated remote attacker to cause a denial of service and potentially achieve code execution. Reliable remote code execution may be difficult because of the server's dynamic runtime behavior.
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.
An unauthenticated remote attacker can trigger denial of service by corrupting heap memory in the SMA 100 web interface. The memory-corruption condition could potentially permit code execution, although reliable exploitation for remote code execution is described as challenging.
Mitigation
If you can’t patch tonight, do this now.
No specific workaround other than applying the vendor updates is provided. Prioritize testing and deployment of the applicable firmware update. Enable multi-factor authentication and ensure the Web Application Firewall feature is active on SMA 100 appliances as additional defensive measures.
Remediation
Patch, then assume compromise.
Upgrade affected SonicWall SMA 100 Series devices to a firmware version newer than 10.2.1.15-81sv using the vendor-provided fixes. Firmware version 10.2.2.1-90sv or later is recommended.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
Frequently asked questions
- Is CVE-2025-40597 exploited in the wild?
- Yes. As of Nov 3, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-40597?
- As of Nov 3, 2026, Mallory has found no public exploit for CVE-2025-40597.
- Is there a patch for CVE-2025-40597?
- Upgrade affected SonicWall SMA 100 Series devices to a firmware version newer than 10.2.1.15-81sv using the vendor-provided fixes. Firmware version 10.2.2.1-90sv or later is recommended.
- What products are affected by CVE-2025-40597?
- Sonicwall Sma 210 Firmware, Sonicwall Sma 410 Firmware, and Sonicwall Sma 500v Firmware.
- How severe is CVE-2025-40597?
- CVE-2025-40597 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 22.7% (98th percentile) as of Nov 3, 2026.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.