CVE-2026-138278: D-Link DIR-X1860Z routerd liblubus.so hexString2bin stack-based overflow
Exploitation: None known · CVSS 10.0 Critical · Unauthenticated · Published 2026-11-29
Description
A flaw has been found in D-Link DIR-X1860Z 1.0.7.260821.161908. This impacts the function hexString2bin of the file liblubus.so of the component routerd. Executing a manipulation of the argument key_index can lead to stack-based buffer overflow. The attack can be launched remotely. The exploit has been published and may be used.
Enclave's analysis
D-Link DIR-X1860Z routers have a stack buffer overflow in routerd when an oversized key_index hex string is parsed, reachable over the device's unauthenticated ubus HTTP interface. A public GitHub write-up proves register control and includes a ROP chain claimed to get root, but that chain was only validated inside an emulator, not on real hardware. The raw overflow reliably crashes the management daemon either way. No vendor fix exists yet; real remote reach depends on the management interface being exposed beyond the LAN.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| DIR-X1860Z | 1.0.7.260821.161908 | Not listed |
| D-Link DIR-X1860Z (Rev A) router firmware | 1.0.7.260821.161908 (latest available build; no fixed version published) | Not listed |