CVE-2026-100740 D-Link DIR-895L L2TP Control Channel tunnel.c tunnel_set_params out-of-bounds write

Critical 9.4 Published Updated

Remote attackers can trigger an out-of-bounds write in the L2TP parser of D-Link DIR-895L routers, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-100740?

CVE-2026-100740 is a critical memory corruption vulnerability in D-Link DIR-895L, published on 27 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was detected in D-Link DIR-895L A1_102b07. Impacted is the function tunnel_set_params of the file tunnel.c of the component L2TP Control Channel Parser. Performing a manipulation results in out-of-bounds write. The attack may be initiated remotely. The exploit is now public and may be used.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2026-100740?

How do I fix CVE-2026-100740?

No fix has been published for CVE-2026-100740 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-100740 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-100740 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-87gr-9jjp-5f3j.

Is CVE-2026-100740 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free