CVE-2026-9499
Description
An out-of-bounds read (buffer over-read) vulnerability exists in QTextCodec::codecForName() in Qt. When the function is called with a QByteArray that is not NUL-terminated (for example, one created with QByteArray::fromRawData()), the codec-name matching routine reads past the end of the supplied buffer. In most cases this results in an incorrect text codec being selected; in the worst case, if the over-read reaches unmapped memory, the process crashes (denial of service). The over-read is bounded by the length of the longest codec-name candidate, and the out-of-bounds bytes are only compared internally against Qt's fixed list of codec names, so no data is disclosed to an attacker. Applications that do not pass non-NUL-terminated QByteArrays to QTextCodec::codecForName() are not exposed. The affected code resides in the Qt5Compat module from Qt 6.0.0 onward, and in Qt Core (qtbase) in Qt 4.x and Qt 5.x.
Affected products
15- osv-coords13 versionspkg:rpm/almalinux/qt5-qtbase-odbcpkg:rpm/almalinux/qt5-qtbase-mysqlpkg:rpm/almalinux/qt5-qtbase-staticpkg:rpm/almalinux/qt6-qt5compat-develpkg:rpm/almalinux/qt5-qtbase-commonpkg:rpm/almalinux/qt5-qtbase-develpkg:rpm/almalinux/qt5-qtbasepkg:rpm/almalinux/qt6-qt5compat-examplespkg:rpm/almalinux/qt5-qtbase-postgresqlpkg:rpm/almalinux/qt6-qt5compatpkg:rpm/almalinux/qt5-qtbase-private-develpkg:rpm/almalinux/qt5-qtbase-guipkg:rpm/almalinux/qt5-qtbase-examples
< 5.15.3-9.el8_10+ 12 more
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 6.10.1-1.el10_2.1
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 6.10.1-1.el10_2.1
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 6.10.1-1.el10_2.1
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 5.15.3-9.el8_10
- (no CPE)range: < 5.15.3-9.el8_10
- Range: 4.x and 5.x
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.