Skip to content
OpenAdvisories
Unscored CVE-2007-0242 EUVD-2007-0244GHSA-4hj5-9h7j-98c6

The UTF-8 decoder in codecs/qutfcodec.cpp in Qt 3.3.8 and 4.2.3 does not reject long UTF-8 sequences as required by the standard, which all…

Published Apr 3, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

The UTF-8 decoder in codecs/qutfcodec.cpp in Qt 3.3.8 and 4.2.3 does not reject long UTF-8 sequences as required by the standard, which allows remote attackers to conduct cross-site scripting (XSS) and directory traversal attacks via long sequences that decode to dangerous metacharacters.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 qt4-x11 4.2.1-2etch1 DSA-1292-1
ReleasePackageFixed inAdvisory
RHEL 5 kdelibs +2 6:3.5.4-13.el5 RHSA-2007:0909
RHEL 5 qt +7 1:3.3.6-23.el5 RHSA-2007:0883
RHEL 5 qt4 +6 4.2.1-1.el5_7.1 RHSA-2011:1324
RHEL 4 kdelibs +1 6:3.3.1-9.el4 RHSA-2007:0909
RHEL 4 qt +6 1:3.3.3-13.RHEL4 RHSA-2007:0883
RHEL 3 qt +5 1:3.1.2-17.RHEL3 RHSA-2007:0883
RHEL 2 qt +4 1:2.3.1-14.EL2 RHSA-2007:0883

Advisories 4

References