# CVE-2022-41140: This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers.

- Severity: High 8.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-01)
- Published: 2023-01-26T00:00:00.000Z
- Modified: 2026-06-17T05:02:40.390Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## 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.

(As written by CVE List.)

## Affected

- D-Link Multiple Routers: 1.30B07
- dlink dir-882-us_firmware: up to 1.30b07
- dlink dir-867_firmware: up to 1.30b08
- dlink dir-878_firmware: up to 1.30b06

## Every score

- zdi: CVSS:3.0 8.8 High `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-22-1290/> (third-party-advisory, vdb-entry)
- <https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2022-41140](https://www.cve.org/CVERecord?id=CVE-2022-41140), CVE Terms of Use, modified 2025-04-01
- NVD: [CVE-2022-41140](https://nvd.nist.gov/vuln/detail/CVE-2022-41140), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41140 · Whole record: https://cve.day/CVE-2022-41140.json · Rebuilt by cve.day 2026-11-25T22:58:18.295Z
