DEBIAN-CVE-2026-77358

Source
https://security-tracker.debian.org/tracker/CVE-2026-77358
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77358.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-77358
Upstream
Published
2026-08-28T00:18:15Z
Modified
2026-09-10T08:47:25Z
Severity
  • 8.2 (High) CVSS_V4 - 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 Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/debian/cpp-httplib?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.11.4+ds-1
0.11.4+ds-1+deb12u1
0.11.4+ds-2
0.11.4+ds-3
0.13.1+ds-1
0.14.0+ds-1
0.14.1+ds-1
0.14.1+ds-2
0.14.2+ds-1
0.14.3+ds-1
0.14.3+ds-1.1~exp1
0.14.3+ds-1.1
0.15.3+ds-1
0.15.3+ds-2
0.15.3+ds-3
0.16.0+ds-1
0.16.3+ds-1
0.16.3+ds-2
0.18.0+ds-1
0.18.7-1
0.20.1+ds-3
0.25.0+ds-1
0.26.0+ds-2
0.41.0+ds-1
0.41.0+ds-2
0.41.0+ds-3~bpo13+1
0.41.0+ds-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77358.json"

Debian:13 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/debian/cpp-httplib?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.18.7-1
0.18.7-1+deb13u1
0.20.1+ds-3
0.25.0+ds-1
0.26.0+ds-2
0.41.0+ds-1
0.41.0+ds-2
0.41.0+ds-3~bpo13+1
0.41.0+ds-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77358.json"

Debian:14 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/debian/cpp-httplib?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.18.7-1
0.20.1+ds-3
0.25.0+ds-1
0.26.0+ds-2
0.41.0+ds-1
0.41.0+ds-2
0.41.0+ds-3~bpo13+1
0.41.0+ds-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77358.json"