# CVE-2021-21819: A code execution vulnerability exists in the Libcli Test Environment functionality of D-LINK DIR-3040 1.13B03.

- Severity: Critical 9.1 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- 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): 2.89%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-16T10:24:13.000Z
- Modified: 2026-06-17T03:36:10.530Z
- Weaknesses: CWE-78
- Assigned by: talos

## Description

A code execution vulnerability exists in the Libcli Test Environment functionality of D-LINK DIR-3040 1.13B03. A specially crafted network request can lead to arbitrary command execution. An attacker can send a sequence of requests to trigger this vulnerability.

(As written by CVE List.)

## Affected

- D-Link: D-LINK DIR-3040 1.13B03
- dlink dir-3040_firmware: 1.13b03

## Every score

- talos: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1284> (exploit, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-21819 · Whole record: https://cve.day/CVE-2021-21819.json · Rebuilt by cve.day 2026-11-25T22:58:02.701Z
