What’s Vulnerable › Vulnerabilities
CVE-2022-41140
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-26 · updated 2026-06-17
- Weakness: CWE-121
Description
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which listens on TCP port 80 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13796.
Affected products
- D-Link DIR-867: through 1.30b08
- D-Link DIR-878: through 1.30b06
- Dlink Dir-882-Us Firmware: through 1.30b07
References
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291
- https://www.zerodayinitiative.com/advisories/ZDI-22-1290/
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291
- https://www.zerodayinitiative.com/advisories/ZDI-22-1290/
Get alerted when CVE-2022-41140 or the next vulnerability affects your stack