{"id":"UBUNTU-CVE-2025-11677","details":"Use After Free in WebSocket server implementation in lws_handshake_server in warmcat libwebsockets may allow an attacker, in specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, to achieve denial of service.","modified":"2026-04-22T15:29:54.038687Z","published":"2025-10-20T14:15:00Z","related":["USN-8024-1"],"upstream":["CVE-2025-11677"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-11677"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-11677"},{"type":"REPORT","url":"https://libwebsockets.org/git/libwebsockets/commit?id=2f082ec31261f556969160143ba94875d783971a"},{"type":"REPORT","url":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11677"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8024-1"}],"affected":[{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@3.2.1-3ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3ubuntu0.1~esm1"}]}],"versions":["2.0.3-3build1","3.2.1-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"3.2.1-3ubuntu0.1~esm1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"3.2.1-3ubuntu0.1~esm1"},{"binary_name":"libwebsockets15","binary_version":"3.2.1-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11677.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@4.0.20-2ubuntu1.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.20-2ubuntu1.1"}]}],"versions":["4.0.20-2","4.0.20-2ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libwebsockets-test-server","binary_version":"4.0.20-2ubuntu1.1"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.0.20-2ubuntu1.1"},{"binary_version":"4.0.20-2ubuntu1.1","binary_name":"libwebsockets16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11677.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/libwebsockets@4.3.3-1.1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.3-1.1ubuntu0.1~esm1"}]}],"versions":["4.3.2-4","4.3.3-1","4.3.3-1.1build1","4.3.3-1.1build2","4.3.3-1.1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_name":"libwebsockets-evlib-uv","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_version":"4.3.3-1.1ubuntu0.1~esm1","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"binary_name":"libwebsockets19t64","binary_version":"4.3.3-1.1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11677.json"}},{"package":{"name":"libwebsockets","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libwebsockets@4.3.5-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libwebsockets-evlib-ev","binary_version":"4.3.5-1"},{"binary_name":"libwebsockets-evlib-glib","binary_version":"4.3.5-1"},{"binary_name":"libwebsockets-evlib-uv","binary_version":"4.3.5-1"},{"binary_version":"4.3.5-1","binary_name":"libwebsockets-test-server"},{"binary_name":"libwebsockets-test-server-common","binary_version":"4.3.5-1"},{"binary_name":"libwebsockets19t64","binary_version":"4.3.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11677.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}