Bug 2586058

Summary: CVE-2026-138700 sstp-client: sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: sstp-clientAssignee: Marcin Zajaczkowski <mszpak>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: mszpak
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["47d9d9a3-4188-430b-b90e-09ac5254873b"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2586052    

Description Srikanth Balasubramanian 2026-11-30 10:47:31 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A stack-based buffer overflow was found in sstp-client in sstp_http_get() (src/sstp-buff.c), reachable while parsing the first HTTP response from an SSTP server (including via sstp_recv_hello_complete() 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 (http_header_st 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.