CVE-2026-9499Out-of-bounds read in QTextCodec::codecForName() in Qt
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Ubuntu 26.04 | qt6-5compat | Fix pending | 6.10.2-1ubuntu0.26.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-9499 |
| Ubuntu 26.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Ubuntu 24.04 | qt6-5compat | Fix pending | 6.4.2-4ubuntu0.24.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-9499 |
| Ubuntu 24.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Ubuntu 22.04 | qt6-5compat | Fix pending | 6.2.4-1ubuntu0.22.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-9499 |
| Ubuntu 22.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Ubuntu 20.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Ubuntu 18.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Ubuntu 16.04 | qtbase-opensource-src | Fix pending | UBUNTU-CVE-2026-9499 | |
| Debian 14 | qt6-5compat | Fixed | 6.10.2-4 | DEBIAN-CVE-2026-9499 |
| Debian 14 | qtbase-opensource-src | Fixed | 5.15.19+dfsg-4 | DEBIAN-CVE-2026-9499 |
| Debian 13 | qt6-5compat | Fix pending | DEBIAN-CVE-2026-9499 | |
| Debian 13 | qtbase-opensource-src | Fix pending | DEBIAN-CVE-2026-9499 | |
| Debian 12 | qt6-5compat | Fix pending | DEBIAN-CVE-2026-9499 | |
| Debian 12 | qtbase-opensource-src | Fix pending | DEBIAN-CVE-2026-9499 | |
| Red Hat Enterprise Linux 10 | qt6-qt5compat | Fixed | 0:6.10.1-1.el10_2.1 | RHSA-2026:65816 |
| Red Hat Enterprise Linux 10 | qt6-qt5compat-devel | Fixed | 0:6.10.1-1.el10_2.1 | RHSA-2026:65816 |
| Red Hat Enterprise Linux 10 | qt6-qt5compat-examples | Fixed | 0:6.10.1-1.el10_2.1 | RHSA-2026:65816 |
| Red Hat Enterprise Linux 9 | qt5-qtbase | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-common | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-devel | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-examples | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-gui | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-mysql | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-odbc | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-postgresql | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-private-devel | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 9 | qt5-qtbase-static | Fixed | 0:5.15.9-11.el9_8.1 | RHSA-2026:65993 |
| Red Hat Enterprise Linux 8 | qt5-qtbase | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-common | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-devel | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-examples | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-gui | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-mysql | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-odbc | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-postgresql | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-private-devel | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 8 | qt5-qtbase-static | Fixed | 0:5.15.3-9.el8_10 | RHSA-2026:65897 |
| Red Hat Enterprise Linux 7 | qt3 | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-MySQL | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-ODBC | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-PostgreSQL | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-config | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-designer | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | qt3-devel-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | phonon-backend-gstreamer | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-demos | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-examples | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-mysql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-odbc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-postgresql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-sqlite | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt-x11 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qt3 | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-MySQL | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-ODBC | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-PostgreSQL | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-config | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-designer | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-devel-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | qt3-sqlite | Not affected | ||
| AlmaLinux 10 | qt6-qt5compat | Fixed | 6.10.1-1.el10_2.1 | ALSA-2026:65816 |
| AlmaLinux 10 | qt6-qt5compat-devel | Fixed | 6.10.1-1.el10_2.1 | ALSA-2026:65816 |
| AlmaLinux 10 | qt6-qt5compat-examples | Fixed | 6.10.1-1.el10_2.1 | ALSA-2026:65816 |
| AlmaLinux 9 | qt5-qtbase | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-common | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-devel | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-examples | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-gui | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-mysql | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-odbc | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-postgresql | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-private-devel | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 9 | qt5-qtbase-static | Fixed | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux 8 | qt5-qtbase | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-common | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-devel | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-examples | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-gui | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-mysql | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-odbc | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-postgresql | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-private-devel | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux 8 | qt5-qtbase-static | Fixed | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| Rocky Linux 10 | qt6-qt5compat | Fixed | 0:6.10.1-1.el10_2.1 | RLSA-2026:65816 |
| Rocky Linux 9 | qt5-qtbase | Fixed | 0:5.15.9-11.el9_8.1 | RLSA-2026:65993 |
| Rocky Linux 8 | qt5-qtbase | Fixed | 0:5.15.3-9.el8_10 | RLSA-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.
- Qt: affected: 6.0.0 to before 6.8.8, 6.9.0 to before 6.11.1; fixed in
6.8.8,6.11.1 - Qt: affected: 4.0.0 to before 6.0.0; fixed in
6.0.0
Solution: Update to Qt 6.8.8, Qt 6.11.1, Qt 6.12.0, or later, or apply the referenced patch.
Vendor advisories:
- https://codereview.qt-project.org/c/qt/qt5compat/+/723911 (patch)
- https://codereview.qt-project.org/c/qt/qt5compat/+/724348 (patch)
- https://codereview.qt-project.org/c/qt/qt5compat/+/724995 (patch)
- https://codereview.qt-project.org/c/qt/tqtc-qt5compat/+/725112 (patch)
References
- https://codereview.qt-project.org/c/qt/qt5compat/+/723911
- https://codereview.qt-project.org/c/qt/qt5compat/+/724348
- https://codereview.qt-project.org/c/qt/qt5compat/+/724995
- https://codereview.qt-project.org/c/qt/tqtc-qt5compat/+/725112
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.