{"id":"CVE-2026-138700","summary":"sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers","details":"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.\n\nThe 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.\n\nFixed 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.","modified":"2026-11-30T15:01:03.645368263Z","published":"2026-11-30T13:31:40.643Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138700.json","cna_assigner":"fedora","cwe_ids":["CWE-121"]},"references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-138700"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2586052"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138700.json"},{"type":"PACKAGE","url":"https://gitlab.com/sstp-project/sstp-client"},{"type":"FIX","url":"https://gitlab.com/sstp-project/sstp-client/-/commit/289866a427b462f37af4c6c4842721c98c49a5f5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138700"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/sstp-project/sstp-client","events":[{"introduced":"0"},{"last_affected":"dd243124a1b702a978437082f47dc7b07c9519e5"},{"fixed":"289866a427b462f37af4c6c4842721c98c49a5f5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.0.20"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"289866a427b462f37af4c6c4842721c98c49a5f5"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["1.0.20","1.0.19","1.0.18","1.0.17","1.0.16","1.0.15"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138700.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}