VDB

CVE-2026-9499

CVE-2026-9499 PUBLISHED CVSS 6.3 MEDIUM

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

Reported by tqtc · Published July 21, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
qt5-qtbase-postgresqlerrata.rockylinux.org5.15.9-11.el9
qt5-qtbase-mysqlerrata.rockylinux.org5.15.9-11.el9, 5.15.3-9.el8
qt5-qtbase-gui-debuginfoerrata.rockylinux.org5.15.9-11.el9, 5.15.3-9.el8
qt5-qtbase-odbcerrata.rockylinux.org5.15.9-11.el9, 5.15.3-9.el8
qt5-qtbase-debugsourceerrata.rockylinux.org5.15.9-11.el9, 5.15.3-9.el8
qt6-qt5compat-debugsourceerrata.rockylinux.org6.10.1-1.el10
qt5-qtbase-devel-debuginfoerrata.rockylinux.org5.15.9-11.el9, 5.15.3-9.el8
qt6-qt5compat-exampleserrata.rockylinux.org6.10.1-1.el10
qt6-qt5compat-debuginfoerrata.rockylinux.org6.10.1-1.el10
qt5-qtbase-commonerrata.rockylinux.org5.15.9-11.el9
qt5-qtbaseerrata.rockylinux.org5.15.3-9.el8
qt5-qtbase-develerrata.rockylinux.org5.15.9-11.el9, 5.15.3-9.el8

17 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
6.3
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

Affected products

VendorProductVersions
QtQt6.0.0, 6.9.0
QtQt4.0.0
amazon:2qt5-qtbase-static0
amazon:2qt5-qtbase-gui0
QtQt6.0.0, 4.0.0, 6.9.0
amazon:2qt5-qtbase-private-devel0
amazon:2qt5-qtbase-devel0
amazon:2qt5-qtbase-examples0
qtqt4.0.0, 6.0.0, 6.9.0
amazon:2qt5-qtbase-postgresql0
amazon:2qt5-qtbase-common0
amazon:2qt5-qtbase-mysql0
amazon:2qt5-qtbase-odbc0
amazon:2qt5-qtbase0

Timeline

  • Jul 21, 2026 Coalition ESS Score
  • Jul 21, 2026 CVE Published
  • Jul 22, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score (29 in total, the first dated here)
  • Aug 25, 2026 Security Advisory (9 in total, the first dated here)
  • Sep 10, 2026 Distribution Patch (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-9499
vulnetix vdb fixes CVE-2026-9499

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-9499/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›