# CVE-2024-0997: Totolink N200RE cstecgi.cgi setOpModeCfg 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.25%, higher than 70% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-29T12:31:03.782Z
- Modified: 2026-06-17T06:54:43.837Z
- 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 and classified as critical. Affected by this issue is the function setOpModeCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument pppoeUser leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-252266 is the identifier assigned to this vulnerability. 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; 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-setOpModeCfg-9faac02b13d84bd3b7fe84aab68c7add?pvs=4> (exploit, third-party-advisory)
- <https://vuldb.com/?id.252266> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.252266> (permissions-required, signature, third-party-advisory)

## Sources

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

---

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