Skip to main content
No exploitation reported

CVE-2024-5293

No exploitation reported by the sources we read.

  • Published2024-05-23
  • WeaknessCWE-121

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-05-2322:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP
Dlink dir-2640 firmwareversion to verify
BranchAffectedFixed in

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As zdi, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • D-Link DIR-2640other versions: unknown
    Affected
    • = 1.11B02_BETA02no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-05-23

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2024-05-24
  • CNACVSS 3.08.8known since 2026-10-23
  • CNAweakness (CWE)CWE-121known since 2026-10-23
  • FIRST EPSSEPSS score1.6 %2026-12-03

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-05-23
Last modified
2026-06-17
NVD status
Analyzed

Frequently asked questions

What is CVE-2024-5293?

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.

Is CVE-2024-5293 actively exploited?

Active exploitation of CVE-2024-5293 has not been confirmed. Its EPSS score was 1.6% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-5293?

CVE-2024-5293 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record