CVE-2022-24355: TP-Link TL-WR940N httpRpmFs Stack-based Buffer Overflow RCE
- Vendor
- TP-Link
CVE-2022-24355 is a stack-based buffer overflow in TP-Link TL-WR940N routers, affecting at least firmware 3.20.1 Build 200316 Rel.34392n (5553). The flaw exists in the httpd component, specifically the httpRpmFs functionality, during parsing of file name extensions. User-supplied data is copied into a fixed-length stack buffer without proper validation of input length, allowing an overlong extension value to overflow the stack. The issue is reachable by a network-adjacent attacker and does not require authentication. Successful exploitation can result in arbitrary code execution as root.
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 allows unauthenticated network-adjacent attackers to achieve remote code execution on the router with root privileges. Given the execution context, an attacker can fully compromise the device, alter configuration, intercept or manipulate traffic, deploy malware or botnet payloads, and disrupt availability.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the router management interface and vulnerable HTTP service to trusted administrative networks only. Disable remote/WAN-side management exposure where possible, segment management access, and place the device behind appropriate network controls. Monitor for signs of compromise and isolate potentially affected devices until patched or replaced.
Remediation
Patch, then assume compromise.
TP-Link fixed the vulnerability in firmware version 211111. Affected devices should be upgraded to the vendor-fixed firmware or a later supported release. If the product is end-of-life or no supported fixed firmware is available, the device should be replaced with a supported model.
Exploits
2 exploits validated by Mallory's analysis.
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-2022-24355 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2022-24355 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-24355?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2022-24355, the earliest disclosed Mar 23, 2022.
- Is there a patch for CVE-2022-24355?
- TP-Link fixed the vulnerability in firmware version 211111. Affected devices should be upgraded to the vendor-fixed firmware or a later supported release.
- What products are affected by CVE-2022-24355?
- TP-Link Tl-Wr940n Firmware.
- How severe is CVE-2022-24355?
- CVE-2022-24355 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 2.1% (82nd percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.