{"id":"UBUNTU-CVE-2025-11678","details":"Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.","modified":"2026-04-22T15:29:59.956328Z","published":"2025-10-20T14:15:00Z","related":["USN-8024-1"],"upstream":["CVE-2025-11678"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-11678"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-11678"},{"type":"REPORT","url":"https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a"},{"type":"REPORT","url":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11678"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8024-1"}],"affected":[{"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":{"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_name":"libwebsockets16","binary_version":"4.0.20-2ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11678.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":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","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_name":"libwebsockets-test-server","binary_version":"4.3.3-1.1ubuntu0.1~esm1"},{"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-11678.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_name":"libwebsockets-test-server","binary_version":"4.3.5-1"},{"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-11678.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}