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.
PUBLISHED5.2HardwareCWE-121CWE-119
D-Link R18 DHMAPI httpd is_session_valid stack-based overflow
Problem type
Affected products
D-Link
R18
1.20.B01 - AFFECTED
References
VDB-445164 | D-Link R18 DHMAPI httpd is_session_valid stack-based overflow
https://vuldb.com/vuln/445164
VDB-445164 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/445164/cti
CVE-2026-138361 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-138361
Submit #1075852 | D-link D-Link R18 A1 Router Operating System D-Link R18 A1 1.20.B01 Stack-based buffer overflow and control-flow hijacking
https://vuldb.com/submit/1075852
github.com
https://github.com/jiangnandiyishenqin/D-link-R18A1
dlink.com
https://www.dlink.com/
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-138361Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-138361",
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"dateUpdated": "2026-11-30T02:30:24.552Z",
"dateReserved": "2026-11-29T11:55:57.151Z",
"datePublished": "2026-11-30T02:30:24.552Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB",
"dateUpdated": "2026-11-30T02:30:24.552Z"
},
"title": "D-Link R18 DHMAPI httpd is_session_valid stack-based overflow",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "D-Link",
"product": "R18",
"cpes": [
"cpe:2.3:h:d-link:r18:*:*:*:*:*:*:*:*"
],
"modules": [
"DHMAPI"
],
"versions": [
{
"version": "1.20.B01",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Stack-based Buffer Overflow",
"cweId": "CWE-121",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "Memory Corruption",
"cweId": "CWE-119",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://vuldb.com/vuln/445164",
"name": "VDB-445164 | D-Link R18 DHMAPI httpd is_session_valid stack-based overflow",
"tags": [
"vdb-entry",
"technical-description"
]
},
{
"url": "https://vuldb.com/vuln/445164/cti",
"name": "VDB-445164 | CTI Indicators (IOB, IOC, IOA)",
"tags": [
"signature",
"permissions-required"
]
},
{
"url": "https://vuldb.com/cve/CVE-2026-138361",
"name": "CVE-2026-138361 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://vuldb.com/submit/1075852",
"name": "Submit #1075852 | D-link D-Link R18 A1 Router Operating System D-Link R18 A1 1.20.B01 Stack-based buffer overflow and control-flow hijacking",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://github.com/jiangnandiyishenqin/D-link-R18A1",
"tags": [
"exploit"
]
},
{
"url": "https://www.dlink.com/",
"tags": [
"product"
]
}
],
"metrics": [
{},
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C",
"baseScore": 10,
"baseSeverity": "CRITICAL"
}
},
{
"cvssV3_0": {
"version": "3.0",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C",
"baseScore": 10,
"baseSeverity": "CRITICAL"
}
},
{
"cvssV2_0": {
"version": "2.0",
"vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:ND/RC:C",
"baseScore": 10
}
}
],
"timeline": [
{
"time": "2026-11-29T00:00:00.000Z",
"lang": "en",
"value": "Advisory disclosed"
},
{
"time": "2026-11-29T01:00:00.000Z",
"lang": "en",
"value": "VulDB entry created"
},
{
"time": "2026-11-29T13:01:18.000Z",
"lang": "en",
"value": "VulDB entry last update"
}
],
"credits": [
{
"lang": "en",
"value": "Luminaa (VulDB User)",
"type": "reporter"
}
]
}
}
}