Arbitrary Code Execution in D-Link Routers via Lighttpd Service

Check todayFull system takeover with adjacent network access.
8.8HIGH

CVE-2022-41140

Key Information:

Vendor

D-link

CVE ID
CVE ID:
CVE-2022-41140
Vendor
CVE Published:
26 January 2023

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs adjacent network access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2022-41140?

This vulnerability in multiple D-Link routers allows attackers situated on the same network to execute arbitrary code without requiring authentication. The flaw is rooted in the lighttpd service, which operates on TCP port 80, where improper validation of incoming data length facilitates the copying of data into a fixed-length buffer. This insufficient validation enables attackers to manipulate the system, potentially executing code with root privileges. Immediate action is recommended to secure affected routers against this exploit.

Affected Version(s)

Multiple Routers 1.30B07

References

Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router

CVE-2026-100740
D-linkDir-895l๐Ÿ‘พ9.4CRITICAL

Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component

CVE-2026-94089
D-linkDir-868l๐Ÿ‘พ10CRITICAL

Stack-based Buffer Overflow in D-Link DI-8400 Router

CVE-2025-9938
D-linkDi-8400๐Ÿ‘พ8.7HIGH
View more D-link vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

Anonymous
.