Every CVE Search/ Get API key

CVE-2018-21035

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for...

8.6 HighFix available

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.34%Up 1.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.6

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
CVE-2018-21035
CVSS 3.0
8.6 HighCVSS:3.0/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:C/UI:N
Updated
2026-11-02
EUVDEUVD-2018-13555 8.6

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
EUVD-2018-13555
CVSS 3.0
8.6 HighCVSS:3.0/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:C/UI:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-xhq4-5269-2ffv No score

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for...

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
GHSA-xhq4-5269-2ffv
Updated
2026-11-02
NVD 7.5

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
CVE-2018-21035
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
8.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-770
Updated
2026-11-02
OSVAZL-6833 7.5

CVE-2018-21035 affecting package qt5-qtsvg for versions less than 5.12.11-3

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
AZL-6833
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 7.5

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
CVE-2018-21035
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2018-21035 7.5

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
DEBIAN-CVE-2018-21035
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2020:4690 7.5

Red Hat Security Advisory: qt5-qtbase and qt5-qtwebsockets security and bug fix update

Record
RHSA-2020:4690
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2020:4690 7.5

Moderate: qt5-qtbase and qt5-qtwebsockets security and bug fix update

Qt is a software toolkit for developing applications. The qt5-base packages contain base tools for string, xml, and network handling in Qt.

Security Fix(es):

  • qt: XML entity expansion vulnerability (CVE-2015-9541)

  • qt5-qtwebsockets: websocket implementation allows only limited size for frames and messages therefore attacker can cause DOS (CVE-2018-21035)

  • qt: files placed by attacker can influence the working directory and lead to malicious code execution (CVE-2020-0569)

  • qt: files placed by attacker can influence the working directory and lead to malicious code execution (CVE-2020-0570)

  • qt5: incorrectly calls SSL_shutdown() in OpenSSL mid-handshake causing denial of service in TLS applications (CVE-2020-13962)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.3 Release Notes linked from the References section.

Record
RLSA-2020:4690
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-21035 7.5

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption).

Record
UBUNTU-CVE-2018-21035
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
8.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2020:4690 No score

Moderate: qt5-qtbase and qt5-qtwebsockets security and bug fix update

Qt is a software toolkit for developing applications. The qt5-base packages contain base tools for string, xml, and network handling in Qt.

Security Fix(es):

  • qt: XML entity expansion vulnerability (CVE-2015-9541)

  • qt5-qtwebsockets: websocket implementation allows only limited size for frames and messages therefore attacker can cause DOS (CVE-2018-21035)

  • qt: files placed by attacker can influence the working directory and lead to malicious code execution (CVE-2020-0569)

  • qt: files placed by attacker can influence the working directory and lead to malicious code execution (CVE-2020-0570)

  • qt5: incorrectly calls SSL_shutdown() in OpenSSL mid-handshake causing denial of service in TLS applications (CVE-2020-13962)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2020:4690
Updated
2026-11-02
OSVMGASA-2021-0270 No score

Updated qtwebsockets5 packages fix a security vulnerability

In Qt through 5.14.1, the WebSocket implementation accepts up to 2GB for frames and 2GB for messages. Smaller limits cannot be configured. This makes it easier for attackers to cause a denial of service (memory consumption) (CVE-2018-21035).

Record
MGASA-2021-0270
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
qt5-qtbase-static
AlmaLinux:8
From an advisory covering 5 CVEs
before 5.12.5-6.el8
5.12.5-6.el8
qt5-qttools-static
AlmaLinux:8
From an advisory covering 5 CVEs
before 5.12.5-2.el8
5.12.5-2.el8
qt5-qtsvg
Azure Linux:2
before 5.12.11-3
5.12.11-3
qtwebsockets-opensource-src
Debian:12
before 5.15.1-2
5.15.1-2
qtwebsockets-opensource-src
Debian:13
before 5.15.1-2
5.15.1-2
qtwebsockets-opensource-src
Debian:14
before 5.15.1-2
5.15.1-2
qtwebsockets5
Mageia:7
before 5.12.6-1.1.mga7
5.12.6-1.1.mga7
qt5-assistant
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-assistant-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-designer
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
Show 76 moreShow less
Affected packages
PackageAffectedFixed
qt5-designer-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-doctools
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-doctools-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-linguist
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-linguist-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qdbusviewer
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qdbusviewer-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtbase
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-common
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-devel-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-examples
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-examples-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-gui
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-gui-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-mysql
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-mysql-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-odbc
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-odbc-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-postgresql
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-postgresql-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-private-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-tests-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qttools
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-common
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-devel-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-examples
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-examples-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-designer
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-designer-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-designercomponents
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-designercomponents-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-help
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-help-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-tests-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-devel-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-examples
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-examples-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets-tests-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-assistant-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-designer-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-doctools-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-linguist-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qdbusviewer-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtbase-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-debugsource
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-devel-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-examples-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-gui-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-mysql-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-odbc-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-postgresql-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-static
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qtbase-tests-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-6.el8
0:5.12.5-6.el8
qt5-qttools-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-debugsource
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-devel-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-examples-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-designer-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-designercomponents-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-libs-help-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-static
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qttools-tests-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qt5-qtwebsockets
Rocky Linux:8
From an advisory covering 5 CVEs
before 0:5.12.5-2.el8
0:5.12.5-2.el8
qtwebsockets-opensource-src
Ubuntu:16.04:LTS
All versions, plus listed versions
5.4.2-2build15.5.1-4build1
None known
qtwebsockets-opensource-src
Ubuntu:18.04:LTS
All versions, plus listed versions
5.9.1-35.9.2-3build15.9.3-0ubuntu15.9.4-0ubuntu15.9.5-0ubuntu1
None known
qtwebsockets-opensource-src
Ubuntu:20.04:LTS
All versions, plus listed versions
5.12.4-15.12.5-25.12.5-2build15.12.8-0ubuntu1
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-21035 is a high vulnerability (CVSS 8.6) in Qt, published February 28, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.34%, the 83rd percentile. Fixed in qt5-qtsvg 5.12.11-3.

References

Show 32 moreShow less
MoveEnter Open