{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-77358","published":"2026-08-28T00:18:15.790000Z","last_modified":"2026-09-09T21:09:13.080000Z","status":"Deferred","cvss":{"version":"4.0","score":8.2,"severity":"HIGH","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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-416"],"cpes":[],"cpes_truncated":false,"vendors":["yhirose"],"products":["yhirose/cpp-httplib"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2026-77358/","html_en":"/en/cve/CVE-2026-77358/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77358","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-77358"},"untrusted":{"vendor_name":"yhirose","product_name":"cpp-httplib","desc_en":"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.","affected":[{"untrusted_vendor":"yhirose","untrusted_product":"cpp-httplib","versions":[]}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/commit/2f986fd5e56e7c5f686d965174516360930f371d","tags":[]},{"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-w7p7-f35j-mw7q","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11979-1","url":"https://www.suse.com/support/update/","published":"2026-10-04T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"ccache-4.14.1-1.1 on GA media"}}]}