# CVE-2026-138700: sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers

- Severity: High 7.5 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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.16%, higher than 68% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:40.643Z
- Modified: 2026-12-01T20:18:59.483Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- sstp-client: up to 1.0.20

## References

- <https://access.redhat.com/security/cve/CVE-2026-138700> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2586052> (issue-tracking)
- <https://gitlab.com/sstp-project/sstp-client/-/commit/289866a427b462f37af4c6c4842721c98c49a5f5>
- <https://gitlab.com/sstp-project/sstp-client>

## Sources

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

---

Page: https://cve.day/CVE-2026-138700 · Whole record: https://cve.day/CVE-2026-138700.json · Rebuilt by cve.day 2026-12-01T20:32:40.021Z
