{"id":"CVE-2026-9499","aliases":["CVE-2026-9499"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-bounds read in QTextCodec::codecForName() in Qt","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-21T13:25:27.477Z","modified":"2026-07-23T15:25:49.050Z","severity":{"scorer":"TQtC","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"TQtC","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"python","introduced":"6.0.0","fixed":"6.8.8","status":"affected"},{"type":"python","introduced":"6.9.0","fixed":"6.11.1","status":"affected"}],"vendor":"Qt","product":"Qt","cpe":"cpe:2.3:a:qt:qt:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"python","introduced":"4.0.0","fixed":"6.0.0","status":"affected"}],"vendor":"Qt","product":"Qt","cpe":"cpe:2.3:a:qt:qt:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://codereview.qt-project.org/c/qt/qt5compat/+/723911","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://codereview.qt-project.org/c/qt/qt5compat/+/724348","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://codereview.qt-project.org/c/qt/qt5compat/+/724995","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://codereview.qt-project.org/c/qt/tqtc-qt5compat/+/725112","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"TQtC","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-22T18:13:28.519Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9499","url":"https://www.cve.org/CVERecord?id=CVE-2026-9499","licence":"CVE Terms of Use","modified":"2026-07-22T18:28:22.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9499","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9499","licence":"Public domain","modified":"2026-07-23T15:25:49.050Z"}],"updatedAt":"2026-11-25T22:59:29.336Z","epss":{"score":0.00302,"percentile":0.24654,"date":"2026-12-01T12:00:22.000Z"}}