{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-9499","id":"CVE-2026-9499","title":"Out-of-bounds read in QTextCodec::codecForName() in Qt","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 th","descriptionLong":"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.","published":"2026-07-21T13:25:27.477Z","updated":"2026-07-23T15:25:49.050Z","reserved":"2026-05-25T09:55:56.600Z","status":"Deferred","rejected":false,"assigner":"TQtC","metric":{"version":"4.0","score":6.3,"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","rating":"medium","source":"TQtC"},"metrics":[{"version":"4.0","score":6.3,"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","rating":"medium","source":"TQtC"},{"version":"4.0","score":6.3,"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/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","rating":"medium","source":"a59d8014-47c4-4630-ab43-e1b13cbe58e3"}],"rating":"medium","products":["Qt"],"affectedProducts":[{"vendor":"Qt","product":"Qt","defaultStatus":"unaffected","versions":[{"status":"affected","version":"6.0.0","lessThan":"6.8.8","versionType":"python"},{"status":"affected","version":"6.9.0","lessThan":"6.11.1","versionType":"python"}],"platforms":[]},{"vendor":"Qt","product":"Qt","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.0.0","lessThan":"6.0.0","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://codereview.qt-project.org/c/qt/qt5compat/+/723911","tags":["patch"]},{"url":"https://codereview.qt-project.org/c/qt/qt5compat/+/724348","tags":["patch"]},{"url":"https://codereview.qt-project.org/c/qt/qt5compat/+/724995","tags":["patch"]},{"url":"https://codereview.qt-project.org/c/qt/tqtc-qt5compat/+/725112","tags":["patch"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00302,"epssPercentile":0.23342,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-9499","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9499","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-9499","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-9499","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}