# CVE-2021-31658: TP-Link TL-SG2005, TL-SG2008, etc.

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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): 1.02%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-10T14:24:19.000Z
- Modified: 2026-07-09T01:16:53.167Z
- Weaknesses: CWE-129
- Assigned by: mitre

## Description

TP-Link TL-SG2005, TL-SG2008, etc. 1.0.0 Build 20180529 Rel.40524 is affected by an Array index error. The interface that provides the "device description" function only judges the length of the received data, and does not filter special characters. This vulnerability will cause the application to crash, and all device configuration information will be erased.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tp-link tl-sg2005_firmware: 1.0.0
- tp-link tl-sg2008_firmware: 1.0.0

## Every score

- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31658> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31658](https://www.cve.org/CVERecord?id=CVE-2021-31658), CVE Terms of Use, modified 2026-07-09
- NVD: [CVE-2021-31658](https://nvd.nist.gov/vuln/detail/CVE-2021-31658), Public domain, modified 2026-07-09

---

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