6.3

CVE-2026-9499

Out-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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerQt
Produkt Qt
Default Statusunaffected
Version 6.0.0
Version < 6.8.8
Status affected
Version 6.9.0
Version < 6.11.1
Status affected
HerstellerQt
Produkt Qt
Default Statusunaffected
Version 4.0.0
Version < 6.0.0
Status affected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.3% 0.223
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
a59d8014-47c4-4630-ab43-e1b13cbe58e3 6.3 0 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
CWE-125 Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

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