D-Link DIR-2640 HTTP Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640-US routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within prog.cgi, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21853.
Conclusion & alert: CVE-2024-5293 is rated Moderate Risk (60.9/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.61%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.32% | 1.61% | +0.29% |
| 2 | 2025-11-21 | 0.45% | 1.32% | +0.87% |
| 3 | 2025-11-18 | — | 0.45% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.0 | HIGH |
|
2.8 | 5.9 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| dlink | dir-2640_firmware | 1.11b02 | cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-24-444/ | Third Party Advisory |