7.5high
sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers
- Severity
- 7.5high CVSS:3.1 by fedora
- Exploit likelihood
- 1.16% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
Description
A flaw was found in sstp-client. A stack-based buffer overflow in sstp_http_get() can be triggered when parsing HTTP headers from an SSTP server response before authentication. A remote peer can cause the client to crash. On builds without stack protector, this may allow code execution. The overflow is caused by an off-by-one loop bound when filling fixed http_header_st arrays and by sscanf field widths that exceed the destination buffers by one byte. It is reachable while handling the first HTTP response from a malicious or man-in-the-middle SSTP server, before PPP authentication. Fixed upstream in commit 289866a427b462f37af4c6c4842721c98c49a5f5 (bounds check and corrected sscanf widths). No upstream release tag contains the fix yet; the latest tag is 1.0.20.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sstp-client | up to 1.0.20 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138700 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138700 changed 2026-11-30 | Public domain |