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.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Deferred"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9499",
"id": "CVE-2026-9499",
"imported": "2026-12-03T15:43:19.186Z",
"modified": "2026-07-23T15:25:49.050Z",
"published": "2026-07-21T14:16:35.843Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-9499"
},
{
"html_url": "https://github.com/advisories/GHSA-8cm2-5hwv-mhv9",
"id": "GHSA-8cm2-5hwv-mhv9",
"imported": "2026-12-03T15:40:40.698Z",
"modified": "2026-07-21T15:30:51Z",
"published": "2026-07-21T15:30:43Z",
"url": "https://api.github.com/advisories/GHSA-8cm2-5hwv-mhv9"
},
{
"affected": {
"Qt:Qt": [
"4.0.0 <6.0.0",
"6.0.0 <6.8.8",
"6.9.0 <6.11.1"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-46257",
"id": "EUVD-2026-46257",
"imported": "2026-12-03T15:39:28.627Z",
"modified": "2026-07-22T18:28:22Z",
"published": "2026-07-21T13:25:27Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-46257"
}
]
}