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

Published Nov 30, 2026
·
Updated

A flaw was found in sstp-client. A stack-based buffer overflow in sstphttpget() 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 httpheaderst 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.

Other sources

A stack-based buffer overflow was found in sstp-client in sstphttpget() (src/sstp-buff.c), reachable while parsing the first HTTP response from an SSTP server (including via sstprecvhellocomplete() in src/sstp-http.c) before PPP authentication. An off-by-one loop bound (index++ > count instead of a pre-check with >=) can write past fixed caller arrays (httpheaderst array[7] / array[15]), and sscanf field widths (%32 / %128) exceed the destination fields (name[32] / value[128]) by one byte. A malicious or man-in-the-middle SSTP peer can overwrite stack memory with attacker-controlled header data. On hardened builds with stack protector (as shipped in Fedora), this typically results in denial of service via abort; without stack protector, control of the saved return address may be possible. Fixed upstream in commit 289866a427b462f37af4c6c4842721c98c49a5f5 (bounds check and %31/%127 widths). No upstream release tag contains the fix yet; latest tag is 1.0.20.

— Red Hat

Affected Software

1 affected component
sstp-client sstp-client<=1.0.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 289866a427b462f37af4c6c4842721c98c49a5f5

Event History

Nov 30, 2026
Data Sourced
via Red Hat·10:30 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·01:31 PM
Data Sourced
via MITRE·01:31 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203