Several security issues were fixed in Libwebsockets.. ========================================================================== Ubuntu Security Notice USN-8024-1 February 11, 2026 libwebsockets vulnerabilities ========================================================================== A security issue affects these releases of Ubuntu and its derivatives: - Ubuntu 24.04 LTS - Ubuntu 22.04 LTS - Ubuntu 20.04 LTS Summary: Several security issues were fixed in Libwebsockets. Software Description: - libwebsockets: C library for building WebSocket-based network applications Details: Raffaele Bova discovered that Libwebsockets incorrectly handled memory when the upgrade header is not valid in the WebSocket server. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-11677) Raffaele Bova discovered that Libwebsockets did not properly check the size of the destination buffer in the async-dns component. An attacker could possibly use this issue to cause applications to crash, leading to a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-11678) Update instructions: The problem can be corrected by updating your system to the following package versions: Ubuntu 24.04 LTS libwebsockets19t64 4.3.3-1.1ubuntu0.1~esm1 Available with Ubuntu Pro Ubuntu 22.04 LTS libwebsockets16 4.0.20-2ubuntu1.1 Ubuntu 20.04 LTS libwebsockets15 3.2.1-3ubuntu0.1~esm1 Available with Ubuntu Pro In general, a standard system update will make all the necessary changes. References: https://ubuntu.com/security/notices/USN-8024-1 CVE-2025-11677, CVE-2025-11678 Package Information: https://launchpad.net/ubuntu/+source/libwebsockets/4.0.20-2ubuntu1.1 . Libwebsockets fixes several issues in Ubuntu affecting denial of service and potential code execution vulnerabilities.. Ubuntu Libwebsockets security patchnetwork applications. . Severity: Important. LinuxSecurity.com Team
Update to 4.3.7, enable glib event loop. -------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2025-0c12fa2541 2025-12-10 00:47:19.391484+00:00 -------------------------------------------------------------------------------- Name : libwebsockets Product : Fedora 42 Version : 4.3.7 Release : 2.fc42 URL : http://libwebsockets.org Summary : Lightweight C library for Websockets Description : This is the libwebsockets C library for lightweight websocket clients and servers. -------------------------------------------------------------------------------- Update Information: Update to 4.3.7, enable glib event loop -------------------------------------------------------------------------------- ChangeLog: * Mon Dec 1 2025 Peter Robinson - 4.3.7-2 - Enable glib event loop support * Sun Nov 30 2025 Peter Robinson - 4.3.7-1 - Update to 4.3.7 -------------------------------------------------------------------------------- References: [ 1 ] Bug #2405213 - CVE-2025-11679 libwebsockets: Out-of-bounds Read in libwebsockets PNG parsing [epel-10] https://bugzilla.redhat.com/show_bug.cgi?id=2405213 [ 2 ] Bug #2405215 - CVE-2025-11679 libwebsockets: Out-of-bounds Read in libwebsockets PNG parsing [epel-9] https://bugzilla.redhat.com/show_bug.cgi?id=2405215 [ 3 ] Bug #2405217 - CVE-2025-11679 libwebsockets: Out-of-bounds Read in libwebsockets PNG parsing [fedora-42] https://bugzilla.redhat.com/show_bug.cgi?id=2405217 [ 4 ] Bug #2405247 - CVE-2025-11677 libwebsockets: Use After Free in libwebsockets WebSocket server [epel-10] https://bugzilla.redhat.com/show_bug.cgi?id=2405247 [ 5 ] Bug #2405249 - CVE-2025-11677 libwebsockets: Use After Free in libwebsockets WebSocket server [epel-9] https://bugzilla.redhat.com/show_bug.cgi?id=2405249 [ 6 ] Bug #2405251 - CVE-2025-11677 libwebsockets: Use After Free in libwebsockets WebSocket server[fedora-42] https://bugzilla.redhat.com/show_bug.cgi?id=2405251 [ 7 ] Bug #2405258 - CVE-2025-11680 libwebsockets: Out-of-bounds Write in libwebsockets PNG parsing [epel-10] https://bugzilla.redhat.com/show_bug.cgi?id=2405258 [ 8 ] Bug #2405260 - CVE-2025-11680 libwebsockets: Out-of-bounds Write in libwebsockets PNG parsing [epel-9] https://bugzilla.redhat.com/show_bug.cgi?id=2405260 [ 9 ] Bug #2405262 - CVE-2025-11680 libwebsockets: Out-of-bounds Write in libwebsockets PNG parsing [fedora-42] https://bugzilla.redhat.com/show_bug.cgi?id=2405262 [ 10 ] Bug #2405566 - CVE-2025-11678 libwebsockets: Stack-based Buffer Overflow in libwebsockets [epel-10] https://bugzilla.redhat.com/show_bug.cgi?id=2405566 [ 11 ] Bug #2405569 - CVE-2025-11678 libwebsockets: Stack-based Buffer Overflow in libwebsockets [epel-9] https://bugzilla.redhat.com/show_bug.cgi?id=2405569 [ 12 ] Bug #2405571 - CVE-2025-11678 libwebsockets: Stack-based Buffer Overflow in libwebsockets [fedora-42] https://bugzilla.redhat.com/show_bug.cgi?id=2405571 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2025-0c12fa2541' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ package-announce mailing list --
Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop. . - ----------------------------------------------------------------------- Debian LTS Advisory DLA-4373-1
2.0.17 Broker: * Fix `max_queued_messages 0` stopping clients from receiving messages * Fix `max_inflight_messages` not being set correctly. Apps: * Fix `mosquitto_passwd -U` backup file creation. 2.0.16 Security: * CVE-2023-28366: Fix memory leak in broker when clients send multiple QoS 2 messages with the same message ID, but then never respond to the PUBREC. -------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-6a87c003c4 2023-09-01 01:28:16.436319 -------------------------------------------------------------------------------- Name : libwebsockets Product : Fedora 38 Version : 4.3.2 Release : 5.fc38 URL : https://libwebsockets.org/ Summary : Lightweight C library for Websockets Description : This is the libwebsockets C library for lightweight websocket clients and servers. -------------------------------------------------------------------------------- Update Information: 2.0.17 Broker: * Fix `max_queued_messages 0` stopping clients from receiving messages * Fix `max_inflight_messages` not being set correctly. Apps: * Fix `mosquitto_passwd -U` backup file creation. 2.0.16 Security: * CVE-2023-28366: Fix memory leak in broker when clients send multiple QoS 2 messages with the same message ID, but then never respond to the PUBREC commands. * CVE-2023-0809: Fix excessive memory being allocated based on malicious initial packets that are not CONNECT packets. * CVE-2023-3592: Fix memory leak when clients send v5 CONNECT packets with a will message that contains invalid property types. * Broker will now reject Will messages that attempt to publish to $CONTROL/. * Broker now validates usernames provided in a TLS certificate or TLS-PSK identity are valid UTF-8. * Fix potential crash when loading invalid persistence file. * Library will no longer allow single level wildcard certificates, e.g. *.com Broker: * Fix $SYS messages being expired after 60 seconds and henceunchanged values disappearing. * Fix some retained topic memory not being cleared immediately after used. * Fix error handling related to the `bind_interface` option. * Fix std* files not being redirected when daemonising, when built with assertions removed. * Fix default settings incorrectly allowing TLS v1.1. * Use line buffered mode for stdout. Closes #2354. * Fix bridges with non-matching cleansession/local_cleansession being expired on start after restoring from persistence. * Fix connections being limited to 2048 on Windows. The limit is now 8192, where supported. * Broker will log warnings if sensitive files are world readable/writable, or if the owner/group is not the same as the user/group the broker is running as. In future versions the broker will refuse to open these files. * mosquitto_memcmp_const is now more constant time. * Only register with DLT if DLT logging is enabled. * Fix any possible case where a json string might be incorrectly loaded. This could have caused a crash if a textname or textdescription field of a role was not a string, when loading the dynsec config from file only. * Dynsec plugin will not allow duplicate clients/groups/roles when loading config from file, which matches the behaviour for when creating them. * Fix heap overflow when reading corrupt config with "log_dest file". Client library: * Use CLOCK_BOOTTIME when available, to keep track of time. This solves the problem of the client OS sleeping and the client hence not being able to calculate the actual time for keepalive purposes. * Fix default settings incorrectly allowing TLS v1.1. * Fix high CPU use on slow TLS connect. Clients: * Fix incorrect topic-alias property value in mosquitto_sub json output. * Fix confusing message on TLS certificate verification. Apps: * mosquitto_passwd uses mkstemp() for backup files. * `mosquitto_ctrl dynsec init` will refuse to overwrite an existing file, without arace-condition. -------------------------------------------------------------------------------- ChangeLog: * Fri Aug 18 2023 Peter Robinson - 4.3.2-5 - Upstream patches for OpenSSLv3 * Thu Jul 20 2023 Fedora Release Engineering - 4.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 4.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild -------------------------------------------------------------------------------- References: [ 1 ] Bug #2171596 - libwebsockets: FTBFS in Fedora rawhide/f38 https://bugzilla.redhat.com/show_bug.cgi?id=2171596 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-6a87c003c4' at the command line. For more information, refer to the dnf documentation available at https://dnf.readthedocs.io/en/latest/command_ref.html All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list --
Get the latest Linux and open source security news straight to your inbox.