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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-23 · Modified: 2024-08-01
- Record: https://cvemate.com/vulnerability/CVE-2024-5294 · JSON: https://cvemate.com/vulnerability/CVE-2024-5294/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.46%, percentile 41.581%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- d-link dir-3040: 120B03
- dlink dir-3040\_firmware: 1.20b03

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-24-445/>

---

Data as of 2026-12-05T08:44:01.964Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
