Bug 2503641 (CVE-2026-9499) - CVE-2026-9499 qt: Qt: Denial of Service via out-of-bounds read in text codec handling
Summary: CVE-2026-9499 qt: Qt: Denial of Service via out-of-bounds read in text codec ...
Keywords:
Status: NEW
Alias: CVE-2026-9499
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2521831 2521832 2521833 2521834 2521835
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 14:01 UTC by OSIDB Bzimport
Modified: 2026-08-24 12:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-21 14:01:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.