# CVE-2024-0998: Totolink N200RE cstecgi.cgi setDiagnosisCfg stack-based overflow

- Severity: High 7.2 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/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): 1.40%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-29T13:00:07.339Z
- Modified: 2026-06-17T06:54:43.970Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## Description

A vulnerability was found in Totolink N200RE 9.3.5u.6139_B20201216. It has been classified as critical. This affects the function setDiagnosisCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument ip leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-252267. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

(As written by CVE List.)

## Affected

- Totolink N200RE: 9.3.5u.6139_B20201216
- totolink n200re_firmware: 9.3.5u.6139_b20201216

## Every score

- VulDB: 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`
- VulDB: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- VulDB: CVSS:2.0 8.3 High `AV:N/AC:L/Au:M/C:C/I:C/A:C`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://jylsec.notion.site/TOTOLINK-N200RE-has-stack-buffer-overflow-vulnerability-in-setDiagnosisCfg-b2d36451543e4c6da063646721a24604?pvs=4> (exploit, third-party-advisory)
- <https://vuldb.com/?id.252267> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.252267> (permissions-required, signature, third-party-advisory)

## Sources

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

---

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