Stack-based overflow in D-Link R18 DHMAPI httpd session check
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
D-Link R18 firmware 1.20.B01 is affected. The is_session_valid function in the DHMAPI component of /bin/httpd does not limit the size of the API-AUTH argument, so a stack-based buffer overflow (CWE-121) occurs. A remote attacker can exploit it without authentication, and a public exploit has been disclosed and may be used.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
A security vulnerability has been detected in D-Link R18 1.20.B01. This issue affects the function is_session_valid of the file /bin/httpd of the component DHMAPI. The manipulation of the argument API-AUTH leads to stack-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for D-Link R18.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138361
- 2026-11-30 Alias added: GHSA-gr5v-vccm-hrxm
- 2026-11-30 CISA SSVC decision points changed
References
More D-Link vulnerabilities
- TI-2024-03070 Command injection in D-Link DNS-320L, DNS-325, DNS-327L and DNS-340L KEVCVSS 3.1CRITICAL 9.8
- TI-2024-03069 Hard-coded credentials in several D-Link DNS NAS devices KEVCVSS 3.1CRITICAL 9.8
- TI-2024-00708 Path traversal in D-Link DIR-859 hedwig.cgi HTTP POST handler KEVCVSS 3.1CRITICAL 9.8
- TI-2023-10693 OS command injection in D-Link DIR820LA1_FW105B03 grants root access KEVCVSS 3.1CRITICAL 9.8
- TI-2022-17249 Buffer overflow in D-Link Go-RT-AC750 via cgibin and hnap_main KEVCVSS 3.1CRITICAL 9.8
- TI-2022-09657 Remote command execution in D-Link DIR-820L via HTTP POST requests KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-138361 · CVE Program
- CVE-2026-138361 · NVD
- FIRST EPSS
- GHSA-gr5v-vccm-hrxm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences