CVE-2007-0242 in Qt
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Qt | Qt | 3.3.8 4.2.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-0242 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-016708-M |
| CVSS vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Published | 2007-04-03 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Qt systems (CVE-2007-0242). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2007-0242?
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Qt systems (CVE-2007-0242). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2007-0242?
CVE-2007-0242 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. EPSS: 2.1%.
Is CVE-2007-0242 actively exploited?
No confirmed active exploitation of CVE-2007-0242 as of 2026-09-25.
How do I remediate CVE-2007-0242?
Priority: MONITOR.
What systems are affected by CVE-2007-0242?
CVE-2007-0242 affects Qt Qt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Qt","product":"Qt","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.