๐Ÿ” CVE Alert

CVE-2026-9499

UNKNOWN 0.0

Out-of-bounds read in QTextCodec::codecForName() in Qt

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-125
Vendor qt
Product qt
Published Jul 21, 2026
Stay Ahead of the Next One

Get instant alerts for qt qt

Be the first to know when new unknown vulnerabilities affecting qt qt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Qt / Qt
6.0.0 < 6.8.8 6.9.0 < 6.11.1
Qt / Qt
4.0.0 < 6.0.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
codereview.qt-project.org: https://codereview.qt-project.org/c/qt/qt5compat/+/723911 codereview.qt-project.org: https://codereview.qt-project.org/c/qt/qt5compat/+/724348 codereview.qt-project.org: https://codereview.qt-project.org/c/qt/qt5compat/+/724995 codereview.qt-project.org: https://codereview.qt-project.org/c/qt/tqtc-qt5compat/+/725112