CVE-2017-20205
Valve Source SDK Stack-Based Buffer Overflow RCE
- State
- Published
- Severity
- 9.2 Critical
- Published
- Oct 15, 2025
- Updated
- Nov 21, 2025
- Reserved
- Oct 14, 2025
Description
Valve's Source SDK (source-sdk-2013)'s ragdoll model parsing logic contains a stack-based buffer overflow vulnerability.The tokenizer function `nexttoken` copies characters from an input string into a fixed-size stack buffer without performing bounds checks. When `ParseKeyValue` processes a collisionpair rule longer than the destination buffer (256 bytes), an overflow of the stack buffer `szToken` can occur and overwrite the function return address. A remote attacker can trigger the vulnerable code by supplying a specially crafted ragdoll model which causes the oversized collisionpair rule to be parsed, resulting in remote code execution on affected clients or servers. Valve has addressed this issue in many of their Source games, but independently-developed games must manually apply patch.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
Source SDK (source-sdk-2013)Valve Software |
|
References
- https://www.oneupsecurity.com/research/remote-code-execution-in-source-games/technical-descriptionpatch
- https://github.com/ValveSoftware/source-sdk-2013product
- https://www.vulncheck.com/advisories/valve-source-sdk-stack-based-buffer-overflow-rcethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.