CVE-2026-138700

sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers

Published Nov 30, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a stack‑based buffer overflow in the sstp_http_get function that occurs while parsing the first HTTP response from an SSTP server before authentication. The overflow originates from an off‑by‑one loop bound and sscanf field widths that exceed their destination buffers by one byte. On builds that lack stack protection, this defect can lead to arbitrary code execution; otherwise, it causes the client to crash.

Affected Systems

Affected products are those released by the SSTP Project, specifically the sstp‑client package and its NetworkManager counterpart. No specific version ranges are listed in the CNA data, and the latest available tag (1.0.20) does not yet contain the upstream patch. Thus any installed instance of sstp‑client that predates the commit that adds bounds checks and fixes the sscanf widths is susceptible.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity impact. The risk is further heightened on platforms that compile sstp‑client without stack protection, permitting remote code execution. The vulnerability is exploitable from a remote SSTP server that the client connects to, so the attack vector is an active network connection initiated by the client; a malicious or compromised server (including a man‑in‑the‑middle) can trigger the flaw. Because EPSS data is unavailable and the issue is not listed in CISA’s KEV catalog, the exploit probability is unknown, yet the potential for high‑impact remote execution warrants immediate attention.

Remediation

Vendor Workaround

Only connect to trusted SSTP servers and keep TLS certificate verification enabled (avoid options that skip or weaken certificate checks against untrusted peers). If SSTP VPN is unused, remove the packages: sudo dnf remove sstp-client NetworkManager-sstp.


OpenCVE Recommended Actions

  • Upgrade sstp-client to a version that incorporates the upstream patch (commit 289866a427b462f37af4c6c4842721c98c49a5f5) or apply a backport if available.
  • If the client is not required, uninstall the sstp-client and NetworkManager-sstp packages to eliminate the attack surface.
  • When connecting to an SSTP VPN, ensure TLS certificate verification remains enabled and avoid any options that disable or weaken certificate validation.

Generated by OpenCVE AI on November 30, 2026 at 16:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sstp Project
Sstp Project sstp-client
Vendors & Products Sstp Project
Sstp Project sstp-client
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 10:23 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM