漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Out-of-bounds read in QTextCodec::codecForName() in Qt
Vulnerability 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 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.
CVSS Information
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
Vulnerability Type
跨界内存读
Vulnerability Title
Qt 缓冲区错误漏洞
Vulnerability Description
Qt是Qt公司开源的一个跨平台的应用程序开发框架。 Qt 6.0.0之前版本、6.0.0至6.8.8之前版本、6.9.0至6.11.1之前版本以及4.x和5.x版本存在缓冲区错误漏洞,该漏洞源于QTextCodec::codecForName()函数存在缓冲区过读取,当使用非NUL终止的QByteArray调用该函数时,编码名称匹配例程会读取超出提供的缓冲区末尾,在最坏情况下若过读取到达未映射内存,则导致进程崩溃。
CVSS Information
N/A
Vulnerability Type
N/A