CVEfocus › CVE database › CVE-2026-9499

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

CVSS 6.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-07-21Updated 2026-07-22Assigner: TQtC

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-125

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

51Fixed
14Fix pending
11Will not fix
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Ubuntu 26.04qt6-5compatFix pending6.10.2-1ubuntu0.26.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-9499
Ubuntu 26.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Ubuntu 24.04qt6-5compatFix pending6.4.2-4ubuntu0.24.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-9499
Ubuntu 24.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Ubuntu 22.04qt6-5compatFix pending6.2.4-1ubuntu0.22.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-9499
Ubuntu 22.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Ubuntu 20.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Ubuntu 18.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Ubuntu 16.04qtbase-opensource-srcFix pendingUBUNTU-CVE-2026-9499
Debian 14qt6-5compatFixed6.10.2-4DEBIAN-CVE-2026-9499
Debian 14qtbase-opensource-srcFixed5.15.19+dfsg-4DEBIAN-CVE-2026-9499
Debian 13qt6-5compatFix pendingDEBIAN-CVE-2026-9499
Debian 13qtbase-opensource-srcFix pendingDEBIAN-CVE-2026-9499
Debian 12qt6-5compatFix pendingDEBIAN-CVE-2026-9499
Debian 12qtbase-opensource-srcFix pendingDEBIAN-CVE-2026-9499
Red Hat Enterprise Linux 10qt6-qt5compatFixed0:6.10.1-1.el10_2.1RHSA-2026:65816
Red Hat Enterprise Linux 10qt6-qt5compat-develFixed0:6.10.1-1.el10_2.1RHSA-2026:65816
Red Hat Enterprise Linux 10qt6-qt5compat-examplesFixed0:6.10.1-1.el10_2.1RHSA-2026:65816
Red Hat Enterprise Linux 9qt5-qtbaseFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-commonFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-develFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-examplesFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-guiFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-mysqlFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-odbcFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-postgresqlFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-private-develFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 9qt5-qtbase-staticFixed0:5.15.9-11.el9_8.1RHSA-2026:65993
Red Hat Enterprise Linux 8qt5-qtbaseFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-commonFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-develFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-examplesFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-guiFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-mysqlFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-odbcFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-postgresqlFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-private-develFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 8qt5-qtbase-staticFixed0:5.15.3-9.el8_10RHSA-2026:65897
Red Hat Enterprise Linux 7qt3Not affected
Red Hat Enterprise Linux 7qt3-MySQLNot affected
Red Hat Enterprise Linux 7qt3-ODBCNot affected
Red Hat Enterprise Linux 7qt3-PostgreSQLNot affected
Red Hat Enterprise Linux 7qt3-configNot affected
Red Hat Enterprise Linux 7qt3-designerNot affected
Red Hat Enterprise Linux 7qt3-develNot affected
Red Hat Enterprise Linux 7qt3-devel-docsNot affected
Red Hat Enterprise Linux 6phonon-backend-gstreamerWill not fix
Out of support scope
Red Hat Enterprise Linux 6qtWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-demosWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-examplesWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-odbcWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-postgresqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-sqliteWill not fix
Out of support scope
Red Hat Enterprise Linux 6qt-x11Will not fix
Out of support scope
Red Hat Enterprise Linux 6qt3Not affected
Red Hat Enterprise Linux 6qt3-MySQLNot affected
Red Hat Enterprise Linux 6qt3-ODBCNot affected
Red Hat Enterprise Linux 6qt3-PostgreSQLNot affected
Red Hat Enterprise Linux 6qt3-configNot affected
Red Hat Enterprise Linux 6qt3-designerNot affected
Red Hat Enterprise Linux 6qt3-develNot affected
Red Hat Enterprise Linux 6qt3-devel-docsNot affected
Red Hat Enterprise Linux 6qt3-sqliteNot affected
AlmaLinux 10qt6-qt5compatFixed6.10.1-1.el10_2.1ALSA-2026:65816
AlmaLinux 10qt6-qt5compat-develFixed6.10.1-1.el10_2.1ALSA-2026:65816
AlmaLinux 10qt6-qt5compat-examplesFixed6.10.1-1.el10_2.1ALSA-2026:65816
AlmaLinux 9qt5-qtbaseFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-commonFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-develFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-examplesFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-guiFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-mysqlFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-odbcFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-postgresqlFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-private-develFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 9qt5-qtbase-staticFixed5.15.9-11.el9_8.1ALSA-2026:65993
AlmaLinux 8qt5-qtbaseFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-commonFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-develFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-examplesFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-guiFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-mysqlFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-odbcFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-postgresqlFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-private-develFixed5.15.3-9.el8_10ALSA-2026:65897
AlmaLinux 8qt5-qtbase-staticFixed5.15.3-9.el8_10ALSA-2026:65897
Rocky Linux 10qt6-qt5compatFixed0:6.10.1-1.el10_2.1RLSA-2026:65816
Rocky Linux 9qt5-qtbaseFixed0:5.15.9-11.el9_8.1RLSA-2026:65993
Rocky Linux 8qt5-qtbaseFixed0:5.15.3-9.el8_10RLSA-2026:65897

What the vendor says

As published in the CVE record by TQtC, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Update to Qt 6.8.8, Qt 6.11.1, Qt 6.12.0, or later, or apply the referenced patch.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.