Bug 2586052 (CVE-2026-138700) - CVE-2026-138700 sstp-client: sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers
Summary: CVE-2026-138700 sstp-client: sstp-client: stack-based buffer overflow in sstp...
Keywords:
Status: NEW
Alias: CVE-2026-138700
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2586058
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 10:30 UTC by OSIDB Bzimport
Modified: 2026-11-30 10:47 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 10:30:04 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.