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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | qt5-qtbase | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-common | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-common | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-devel | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-devel | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-examples | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-examples | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-gui | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-gui | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-mysql | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-mysql | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-odbc | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-odbc | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-postgresql | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-postgresql | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-private-devel | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-private-devel | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:8 | qt5-qtbase-static | 5.15.3-9.el8_10 | ALSA-2026:65897 |
| AlmaLinux:9 | qt5-qtbase-static | 5.15.9-11.el9_8.1 | ALSA-2026:65993 |
| AlmaLinux:10 | qt6-qt5compat | 6.10.1-1.el10_2.1 | ALSA-2026:65816 |
| AlmaLinux:10 | qt6-qt5compat-devel | 6.10.1-1.el10_2.1 | ALSA-2026:65816 |
| AlmaLinux:10 | qt6-qt5compat-examples | 6.10.1-1.el10_2.1 | ALSA-2026:65816 |
| Debian:12 | qt6-5compat | no fix listed | DEBIAN-CVE-2026-9499 |
| Debian:13 | qt6-5compat | no fix listed | DEBIAN-CVE-2026-9499 |
| Debian:14 | qt6-5compat | 6.10.2-4 | DEBIAN-CVE-2026-9499 |
| Debian:12 | qtbase-opensource-src | no fix listed | DEBIAN-CVE-2026-9499 |
| Debian:13 | qtbase-opensource-src | no fix listed | DEBIAN-CVE-2026-9499 |
| Debian:14 | qtbase-opensource-src | 5.15.19+dfsg-4 | DEBIAN-CVE-2026-9499 |
| Rocky Linux:8 | qt5-qtbase | 0:5.15.3-9.el8_10 | RLSA-2026:65897 |
| Rocky Linux:9 | qt5-qtbase | 0:5.15.9-11.el9_8.1 | RLSA-2026:65993 |
| Rocky Linux:10 | qt6-qt5compat | 0:6.10.1-1.el10_2.1 | RLSA-2026:65816 |
| Ubuntu:22.04:LTS | qt6-5compat | no fix listed | UBUNTU-CVE-2026-9499 |
| Ubuntu:24.04:LTS | qt6-5compat | no fix listed | UBUNTU-CVE-2026-9499 |
| Ubuntu:26.04:LTS | qt6-5compat | no fix listed | UBUNTU-CVE-2026-9499 |
| Ubuntu:26.10 | qt6-5compat | no fix listed | UBUNTU-CVE-2026-9499 |
| Ubuntu:26.04:LTS | qtbase-opensource-src | no fix listed | UBUNTU-CVE-2026-9499 |
| Ubuntu:26.10 | qtbase-opensource-src | no fix listed | UBUNTU-CVE-2026-9499 |
Affected products (as reported)
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