Security advisory: CVE-2026-105939 Uncontrolled resource consumption vulnerability in QWebSocket and QWebSocketServer impacts Qt

· by Tero Pelkonen · 1 min read · original post ↗

·

An uncontrolled resource consumption vulnerability in the Qt QWebSocket and QWebSocketServer classes of the Qt WebSockets module has been discovered and has been assigned the CVE id CVE-2026-105939.

Affected versions: from Qt 6.8.5 to Qt 6.8.9, from Qt 6.9.2 to Qt 6.9.3, from Qt 6.10.0 to Qt 6.11.2
Affected status unknown before Qt 6.8.5

Impact: A remote peer can trigger the issue by sending a crafted sequence of malformed WebSocket frames. Protocol errors are not handled correctly, causing resource usage to grow disproportionately to the input received. This can make an application using QWebSocket or QWebSocketServer unresponsive for an extended period (denial of service).

CVSS 4.0 Score: 2.7 / Low

Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/AU:Y/R:A/RE:L/U:Amber

Mitigation: No specific workaround is available. Limit access to WebSocket endpoints to trusted peers until the fix is applied.

Solution: Apply the following patches, or update to Qt 6.12.0, Qt 6.11.3 or Qt 6.8.10 or later.

Patches:
dev:
https://codereview.qt-project.org/c/qt/qtwebsockets/+/771970
https://codereview.qt-project.org/c/qt/qtwebsockets/+/774103
https://codereview.qt-project.org/c/qt/qtwebsockets/+/771971

Qt 6.11:
https://codereview.qt-project.org/c/qt/qtwebsockets/+/773382
or https://download.qt.io/official_releases/qt/6.11/CVE-2026-105939-qtwebsockets-6.11.diff

Qt 6.8:
https://codereview.qt-project.org/c/qt/tqtc-qtwebsockets/+/773385
https://codereview.qt-project.org/c/qt/tqtc-qtwebsockets/+/774230
https://codereview.qt-project.org/c/qt/tqtc-qtwebsockets/+/774270
or https://download.qt.io/archive/qt/6.8/CVE-2026-105939-qtwebsockets-6.8.zip

QtSecurity

More on Security

More from Tero Pelkonen