Out-of-bounds read in Qt - CVE-2019-18281

 

Out-of-bounds read in Qt - CVE-2019-18281

Published: November 2, 2019


Vulnerability identifier: #VU22483
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-18281
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition within the generateDirectionalRuns() function in qtextengine.cpp in Qt qtbase. A remote attacker can create a specially crafted file, containing many directional characters, trick the victim into opening it, trigger out-of-bounds read error and crash the affected application.


Affected software

Qt
Gentoo Linux
openEuler
qtbase-opensource-src (Ubuntu package)
qtbase-opensource-src (Debian package)
qt5-qtbase
qt5-qtbase-debugsource
qt5-qtbase-odbc
qt5-qtbase-postgresql
qt5-qtbase-mysql
qt5-qtbase-gui
qt5-qtbase-devel
qt5-qtbase-debuginfo
qt5-qtbase-common

How to mitigate CVE-2019-18281

Install updates from vendor's website.

Qt - update to 5.12.5
qtbase-opensource-src (Ubuntu package) - addressed in versions 5.5.1+dfsg-16ubuntu7.7, 5.9.5+dfsg-0ubuntu2.5, 5.12.4+dfsg-4ubuntu1.1
qtbase-opensource-src (Debian package) - update to 5.11.3+dfsg1-1+deb10u1
qt5-qtbase - update to 5.11.1-12
qt5-qtbase-debugsource - update to 5.11.1-12
qt5-qtbase-odbc - update to 5.11.1-12
qt5-qtbase-postgresql - update to 5.11.1-12
qt5-qtbase-mysql - update to 5.11.1-12
qt5-qtbase-gui - update to 5.11.1-12
qt5-qtbase-devel - update to 5.11.1-12
qt5-qtbase-debuginfo - update to 5.11.1-12
qt5-qtbase-common - update to 5.11.1-12

External References

Related Security Bulletins