CVE-2026-138700
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-138700 NameCVE-2026-138700 DescriptionA 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…
CVE-2026-138700
| Name | CVE-2026-138700 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| sstp-client (PTS) | bookworm | 1.0.18-1 | vulnerable |
| forky, sid, trixie | 1.0.20-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| sstp-client | source | (unstable) | (unfixed) |
Notes
Fixed by: https://gitlab.com/sstp-project/sstp-client/-/commit/289866a427b462f37af4c6c4842721c98c49a5f5
Apply commands
Fixed by: https://gitlab.com/sstp-project/sstp-client/-/commit/289866a427b462f37af4c6c4842721c98c49a5f5
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | sstp-client |
Affected | — |
| sid | sstp-client |
Affected | — |
| forky | sstp-client |
Affected | — |
| bookworm | sstp-client |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| sstp | sstp-client | {"endIncluding":"1.0.20"} | |
References
- https://access.redhat.com/security/cve/CVE-2026-138700
- https://bugzilla.redhat.com/show_bug.cgi?id=2586052
- https://gitlab.com/sstp-project/sstp-client
- https://gitlab.com/sstp-project/sstp-client/-/commit/289866a427b462f37af4c6c4842721c98c49a5f5
- https://security-tracker.debian.org/tracker/CVE-2026-138700
CWEs
CWE-121
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.