Upstream information

CVE-2026-77358 at MITRE

Description

cpp-httplib is a C++ header-only HTTP/HTTPS library. In versions 0.33.0 through 0.50.0, the TLS-enabled WebSocket client frees the TLS session before closing the WebSocket that still uses it, producing a use-after-free. In WebSocketClient::shutdown_and_close the SSL object is freed and the pointer cleared, but the subsequent WebSocket close still sends a close frame through the SSL socket stream, which holds a raw copy of the now-dangling session pointer and reads from and writes to the freed memory. The same freed-then-used ordering is reachable through the client's destructor and its connect path, so ordinary teardown of a secure WebSocket connection triggers the defect. This issue is fixed in version 0.50.1.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail SUSE
Base Score 5
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact Low
CVSSv3 Version 3.1
CVSS v4 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 8.2 2.3
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Attack Vector Network Network
Attack Complexity Low High
Attack Requirements Present Present
Privileges Required None None
User Interaction None Passive
Vulnerable System Confidentiality Impact None Low
Vulnerable System Integrity Impact None Low
Vulnerable System Availability Impact High Low
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1277412 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP7 ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 ccache Not affected
SUSE Linux Enterprise Server 15 SP7 ccache Not affected
SUSE Linux Enterprise Server 16.0 ccache Not affected
SUSE Linux Enterprise Server 16.0 cpp-httplib Not affected
SUSE Linux Enterprise Server 16.1 ccache Not affected
SUSE Linux Enterprise Server 16.1 cpp-httplib Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 ccache Not affected
SUSE Linux Enterprise Server for SAP applications 16.0 ccache Not affected
SUSE Linux Enterprise Server for SAP applications 16.0 cpp-httplib Not affected
SUSE Linux Enterprise Server for SAP applications 16.1 ccache Not affected
SUSE Linux Enterprise Server for SAP applications 16.1 cpp-httplib Affected
openSUSE Leap 16.0 ccache Not affected
openSUSE Leap 16.0 cpp-httplib Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP6 ccache Not affected
SUSE Linux Enterprise Server 15 SP4 ccache Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS ccache Not affected
SUSE Linux Enterprise Server 15 SP5 ccache Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS ccache Not affected
SUSE Linux Enterprise Server 15 SP6 ccache Not affected
SUSE Linux Enterprise Server 15 SP6-LTSS ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 ccache Not affected
SUSE Manager Proxy 4.3 ccache Not affected
SUSE Manager Retail Branch Server 4.3 ccache Not affected
SUSE Manager Server 4.3 ccache Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 ccache Not affected
SUSE Enterprise Storage 6 ccache Not affected
SUSE Enterprise Storage 7 ccache Not affected
SUSE Enterprise Storage 7.1 ccache Not affected
SUSE Linux Enterprise Desktop 15 ccache Not affected
SUSE Linux Enterprise Desktop 15 SP1 ccache Not affected
SUSE Linux Enterprise Desktop 15 SP2 ccache Not affected
SUSE Linux Enterprise Desktop 15 SP3 ccache Not affected
SUSE Linux Enterprise Desktop 15 SP4 ccache Not affected
SUSE Linux Enterprise Desktop 15 SP5 ccache Not affected
SUSE Linux Enterprise Desktop 15 SP6 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS ccache Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP1 ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 ccache Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 ccache Not affected
SUSE Linux Enterprise Real Time 15 SP2 ccache Not affected
SUSE Linux Enterprise Real Time 15 SP3 ccache Not affected
SUSE Linux Enterprise Real Time 15 SP4 ccache Not affected
SUSE Linux Enterprise Server 15 ccache Not affected
SUSE Linux Enterprise Server 15 SP1 ccache Not affected
SUSE Linux Enterprise Server 15 SP1-BCL ccache Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS ccache Not affected
SUSE Linux Enterprise Server 15 SP2 ccache Not affected
SUSE Linux Enterprise Server 15 SP2-BCL ccache Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS ccache Not affected
SUSE Linux Enterprise Server 15 SP3 ccache Not affected
SUSE Linux Enterprise Server 15 SP3-BCL ccache Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS ccache Not affected
SUSE Linux Enterprise Server 15-LTSS ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 ccache Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 ccache Not affected
SUSE Manager Proxy 4.0 ccache Not affected
SUSE Manager Proxy 4.1 ccache Not affected
SUSE Manager Proxy 4.2 ccache Not affected
SUSE Manager Retail Branch Server 4.0 ccache Not affected
SUSE Manager Retail Branch Server 4.1 ccache Not affected
SUSE Manager Retail Branch Server 4.2 ccache Not affected
SUSE Manager Server 4.0 ccache Not affected
SUSE Manager Server 4.1 ccache Not affected
SUSE Manager Server 4.2 ccache Not affected
openSUSE Leap 15.3 ccache Not affected
openSUSE Leap 15.4 ccache Not affected
openSUSE Leap 15.5 ccache Not affected
openSUSE Leap 15.6 ccache Not affected


SUSE Timeline for this CVE

CVE page created: Fri Aug 28 20:11:09 2026
CVE page last modified: Fri Aug 28 20:11:09 2026