CVE-2026-9499

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

MEDIUM
6.3
CVSS Score
Published: July 21, 2026 at 01:25 PM UTC
Updated: July 23, 2026 at 09:12 PM UTC
1 product affected across 1 vendorQt

Using Qt by Qt?

Get instant alerts when new vulnerabilities affect Qt - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.0 ≤ v < 6.0.06.0.0 ≤ v < 6.8.86.9.0 ≤ v < 6.11.14.0.06.0.06.9.0
Affected range stops below 6.0.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.11.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.8.8, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.3MEDIUMTQtC
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card