sstp-clientに遠隔からクラッシュやコード実行を招く脆弱性
Summary
sstp-clientでは、SSTPサーバーからのHTTP応答ヘッダーを解析する際にスタックバッファオーバーフローが起きる脆弱性が見つかりました。悪意あるサーバーや中間者からの応答で、認証の前にクライアントがクラッシュするおそれがあり、スタック保護のないビルドではコードが実行されるおそれもあります。1.0.20以前が対象です。修正はコミットで公開されていますが、リリースタグにはまだ含まれていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
sstp-clientでは、SSTPサーバーからのHTTP応答ヘッダーを解析する際にスタックバッファオーバーフローが起きる脆弱性が見つかりました。悪意あるサーバーや中間者からの応答で、認証の前にクライアントがクラッシュするおそれがあり、スタック保護のないビルドではコードが実行されるおそれもあります。1.0.20以前が対象です。修正はコミットで公開されていますが、リリースタグにはまだ含まれていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SSTP Projectsstp-client |
≤ 1.0.20→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-138700 sstp-client No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-138700 sstp-client No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- package gitlab.com
- patch gitlab.com
- report bugzilla.redhat.com
- web github.com