# CVE-2024-5294: D-Link DIR-3040 prog.cgi websSecurityHandler Memory Leak Denial-of-Service Vulnerability

- Severity: Medium 4.3 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Published: 2024-05-23T21:29:48.169Z
- Modified: 2026-06-17T08:15:38.170Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: zdi

## Description

D-Link DIR-3040 prog.cgi websSecurityHandler Memory Leak Denial-of-Service Vulnerability. This vulnerability allows network-adjacent attackers to create a denial-of-service condition on affected installations of D-Link DIR-3040 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the prog.cgi program, which handles HNAP requests made to the lighttpd webserver listening on ports 80 and 443. The issue results from the lack of proper memory management when processing HTTP cookie values. An attacker can leverage this vulnerability to create a denial-of-service condition on the system.
. Was ZDI-CAN-21668.

(As written by CVE List.)

## Affected

- D-Link DIR-3040: 120B03
- dlink dir-3040_firmware: 120b03

## Every score

- zdi: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-24-445/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-5294](https://www.cve.org/CVERecord?id=CVE-2024-5294), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5294](https://nvd.nist.gov/vuln/detail/CVE-2024-5294), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5294 · Whole record: https://cve.day/CVE-2024-5294.json · Rebuilt by cve.day 2026-11-25T22:58:40.803Z
