Vulnerability · Published Jul 21, 2026 · Assigned by TQtC

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

Medium 6.3

In plain English

A medium-severity out-of-bounds read in Qt from Qt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.3%top 77.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8qt5-qtbase5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-common5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-common5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-devel5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-devel5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-examples5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-examples5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-gui5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-gui5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-mysql5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-mysql5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-odbc5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-odbc5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-postgresql5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-postgresql5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-private-devel5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-private-devel5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:8qt5-qtbase-static5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux:9qt5-qtbase-static5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux:10qt6-qt5compat6.10.1-1.el10_2.1ALSA-2026:65816
AlmaLinux:10qt6-qt5compat-devel6.10.1-1.el10_2.1ALSA-2026:65816
AlmaLinux:10qt6-qt5compat-examples6.10.1-1.el10_2.1ALSA-2026:65816
Debian:12qt6-5compatno fix listedDEBIAN-CVE-2026-9499
Debian:13qt6-5compatno fix listedDEBIAN-CVE-2026-9499
Debian:14qt6-5compat6.10.2-4DEBIAN-CVE-2026-9499
Debian:12qtbase-opensource-srcno fix listedDEBIAN-CVE-2026-9499
Debian:13qtbase-opensource-srcno fix listedDEBIAN-CVE-2026-9499
Debian:14qtbase-opensource-src5.15.19+dfsg-4DEBIAN-CVE-2026-9499
Rocky Linux:8qt5-qtbase0:5.15.3-9.el8_10RLSA-2026:65897
Rocky Linux:9qt5-qtbase0:5.15.9-11.el9_8.1RLSA-2026:65993
Rocky Linux:10qt6-qt5compat0:6.10.1-1.el10_2.1RLSA-2026:65816
Ubuntu:22.04:LTSqt6-5compatno fix listedUBUNTU-CVE-2026-9499
Ubuntu:24.04:LTSqt6-5compatno fix listedUBUNTU-CVE-2026-9499
Ubuntu:26.04:LTSqt6-5compatno fix listedUBUNTU-CVE-2026-9499
Ubuntu:26.10qt6-5compatno fix listedUBUNTU-CVE-2026-9499
Ubuntu:26.04:LTSqtbase-opensource-srcno fix listedUBUNTU-CVE-2026-9499
Ubuntu:26.10qtbase-opensource-srcno fix listedUBUNTU-CVE-2026-9499

Affected products (as reported)

VendorProductVersions
Qt Qt 6.0.0 – before 6.8.86.9.0 – before 6.11.1
Qt Qt 4.0.0 – before 6.0.0

Weakness: CWE-125 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

References