Skip to main content
Mallory
HighVulnerability

CVE-2025-40597: Unauthenticated Heap Buffer Overflow in SonicWall SMA 100 Web Interface

Published Jul 23, 2025 · Updated 20 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS22.7%98th percentile
CISA KEVNoNot listed
In the wildReported10 exploitation records in Mallory
Vendor
Sonicwall
IdentifiersCVE-2025-40597CWE-122 · Heap-based Buffer Overflow

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.

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.

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
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
SonicwallSma 210 Firmwareoperating_system
SonicwallSma 410 Firmwareoperating_system
SonicwallSma 500v Firmwareoperating_system
FAQ

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.
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 malwareMalware 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 activity16Community discussion across Reddit, Mastodon, and other social sources.