Skip to content
Qt Group PlcCVE-2026-9499

Qt: out-of-bounds read

Medium6.3CVE-2026-9499 · Published Jul 21, 2026 · updated Jul 23, 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.

Qt Group Plc advisory

Affected versions

PackageAffectedFixed in
Qt
Product
>= 6.0.0, < 6.8.86.8.8
>= 6.9.0, < 6.11.16.11.1
>= 4.0.0, < 6.0.06.0.0
Details and references
CVSS 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-125

More Qt Group Plc advisories

All Qt Group Plc
Advisory
qt: denial of service
High7.1Sep 16
qt: out-of-bounds read
Medium6.9Sep 11
qt: denial of service
High7.1Sep 8
Improper output neutralization
Low2.9Jul 23
Qt Group Plc Axivion: open redirect
Medium6.8Jul 16
Qt Group Plc Axivion: missing authorization
High8.7Jul 9

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.