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.

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Subscriptions

No data.

Weaknesses

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