CVE-2007-0242 json
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 2007-04-03 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-0244
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- qt4 RHEL 5 4.2.1-1.el5_7.1
- qt4-odbc RHEL 5 4.2.1-1.el5_7.1
- qt4-mysql RHEL 5 4.2.1-1.el5_7.1
- qt4-sqlite RHEL 5 4.2.1-1.el5_7.1
- qt4-postgresql RHEL 5 4.2.1-1.el5_7.1
- kdelibs RHEL 4 6:3.3.1-9.el4
- kdelibs RHEL 5 6:3.5.4-13.el5
- kdelibs-apidocs RHEL 5 6:3.5.4-13.el5
red hat advisories RHSA-2011:1324RHSA-2007:0909RHSA-2007:0883
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-0242 updated cvss 4.3
QT UTF8 improper character expansion
-
Red Hat Desktop version 3 qt 3.1.2-17.RHEL3, qt-ODBC 3.1.2-17.RHEL3, qt-MySQL 3.1.2-17.RHEL3, qt-config 3.1.2-17.RHEL3, qt-designer 3.1.2-17.RHEL3 Red Hat Enterprise Linux (v. 5 server) qt 3.3.6-23.el5, qt4 4.2.1-1.el5_7.1, kdelibs 3.5.4-13.el5, qt-ODBC 3.3.6-23.el5, qt-MySQL 3.3.6-23.el5, qt-config 3.3.6-23.el5, +7 more Red Hat Enterprise Linux AS (Advanced Server) version 2.1 qt 2.3.1-14.EL2, qt-Xt 2.3.1-14.EL2, qt-designer 2.3.1-14.EL2 Red Hat Enterprise Linux AS version 3 qt 3.1.2-17.RHEL3, qt-ODBC 3.1.2-17.RHEL3, qt-MySQL 3.1.2-17.RHEL3, qt-config 3.1.2-17.RHEL3, qt-designer 3.1.2-17.RHEL3 Red Hat Enterprise Linux AS version 4 qt 3.3.3-13.RHEL4, kdelibs 3.3.1-9.el4, qt-ODBC 3.3.3-13.RHEL4, qt-MySQL 3.3.3-13.RHEL4, qt-config 3.3.3-13.RHEL4, qt-designer 3.3.3-13.RHEL4, +1 more Red Hat Enterprise Linux Desktop (v. 5 client) qt 3.3.6-23.el5, qt4 4.2.1-1.el5_7.1, kdelibs 3.5.4-13.el5, qt-ODBC 3.3.6-23.el5, qt-MySQL 3.3.6-23.el5, qt-config 3.3.6-23.el5, +7 morefixed: vendor fix RHSA-2007:0883
+9 more productsfewer
Red Hat Enterprise Linux Desktop version 4 qt 3.3.3-13.RHEL4, kdelibs 3.3.1-9.el4, qt-ODBC 3.3.3-13.RHEL4, qt-MySQL 3.3.3-13.RHEL4, qt-config 3.3.3-13.RHEL4, qt-designer 3.3.3-13.RHEL4, +1 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) qt 3.3.6-23.el5, kdelibs 3.5.4-13.el5, qt-ODBC 3.3.6-23.el5, qt-MySQL 3.3.6-23.el5, qt-config 3.3.6-23.el5, qt-designer 3.3.6-23.el5, +2 more Red Hat Enterprise Linux ES version 2.1 qt 2.3.1-14.EL2, qt-Xt 2.3.1-14.EL2, qt-designer 2.3.1-14.EL2 Red Hat Enterprise Linux ES version 3 qt 3.1.2-17.RHEL3, qt-ODBC 3.1.2-17.RHEL3, qt-MySQL 3.1.2-17.RHEL3, qt-config 3.1.2-17.RHEL3, qt-designer 3.1.2-17.RHEL3 Red Hat Enterprise Linux ES version 4 qt 3.3.3-13.RHEL4, kdelibs 3.3.1-9.el4, qt-ODBC 3.3.3-13.RHEL4, qt-MySQL 3.3.3-13.RHEL4, qt-config 3.3.3-13.RHEL4, qt-designer 3.3.3-13.RHEL4, +1 more Red Hat Enterprise Linux WS version 2.1 qt 2.3.1-14.EL2, qt-Xt 2.3.1-14.EL2, qt-designer 2.3.1-14.EL2 Red Hat Enterprise Linux WS version 3 qt 3.1.2-17.RHEL3, qt-ODBC 3.1.2-17.RHEL3, qt-MySQL 3.1.2-17.RHEL3, qt-config 3.1.2-17.RHEL3, qt-designer 3.1.2-17.RHEL3 Red Hat Enterprise Linux WS version 4 qt 3.3.3-13.RHEL4, kdelibs 3.3.1-9.el4, qt-ODBC 3.3.3-13.RHEL4, qt-MySQL 3.3.3-13.RHEL4, qt-config 3.3.3-13.RHEL4, qt-designer 3.3.3-13.RHEL4, +1 more Red Hat Linux Advanced Workstation 2.1 qt 2.3.1-14.EL2, qt-Xt 2.3.1-14.EL2, qt-designer 2.3.1-14.EL2 -
Red Hat RHEL Desktop Workstation (v. 5 client) qt4 4.2.1-1.el5_7.1, qt4-odbc 4.2.1-1.el5_7.1, qt4-mysql 4.2.1-1.el5_7.1, qt4-sqlite 4.2.1-1.el5_7.1, qt4-postgresql 4.2.1-1.el5_7.1fixed: vendor fix RHSA-2011:1324
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.12% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
References
-
trolltech.com
/company/newsroom/announcements/press.2007-03-30.9172215350
patch
-
redhat.com
/support/errata/RHSA-2007-0909.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:074
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:076
vendor-advisory
-
novell.com
/linux/security/advisories/2007_6_sr.html
vendor-advisory
-
debian.org
/security/2007/dsa-1292
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2011-1324.html
vendor-advisory
-
ubuntu.com
/usn/usn-452-1
vendor-advisory
-
fedoranews.org
/updates/FEDORA-2007-703.shtml
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0883.html
vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.348591
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:075
vendor-advisory
- support.novell.com /techcenter/psdb/39ea4b325a7da742cb8b6995fa585b14.html
-
exchange.xforce.ibmcloud.com
/vulnerabilities/33397
vdb-entry
-
secunia.com
/advisories/24699
third-party-advisory
- issues.rpath.com /browse/RPL-1202
- support.avaya.com /elmodocs2/security/ASA-2007-424.htm
-
secunia.com
/advisories/24889
third-party-advisory
-
secunia.com
/advisories/27275
third-party-advisory
-
secunia.com
/advisories/24727
third-party-advisory
-
secunia.com
/advisories/26857
third-party-advisory
- nabble.com /Bug-417390:-CVE-2007-0242%2C--Qt-UTF-8-overlong-sequence-decoding-vulnerability-t3506065.html
-
secunia.com
/advisories/24847
third-party-advisory
-
secunia.com
/advisories/24705
third-party-advisory
-
securityfocus.com
/bid/23269
vdb-entry
-
secunia.com
/advisories/46117
third-party-advisory
-
secunia.com
/advisories/27108
third-party-advisory
-
secunia.com
/advisories/24759
third-party-advisory
-
secunia.com
/advisories/24726
third-party-advisory
-
vupen.com
/english/advisories/2007/1212
vdb-entry
-
secunia.com
/advisories/25263
third-party-advisory
-
secunia.com
/advisories/26804
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11510
vdb-entry, signature
- support.novell.com /techcenter/psdb/fc79b7f48d739f9c803a24ddad933384.html
-
secunia.com
/advisories/24797
third-party-advisory
Sources
- CVE List CVE-2007-0242
- NVD CVE-2007-0242
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.