Secunia Logo
Netsikker nu! 2008
 
Qt QUtf8Decoder Off-By-One Vulnerability
Secunia Advisory: SA26811
Release Date: 2007-09-14
Popularity: 5,310 views

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:Qt 3.x
Qt 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4137


Description:
A vulnerability has been reported in Qt, which can potentially be exploited by malicious people to cause a DoS (Denial of Service) or to compromise an application using the library.

The vulnerability is caused due to an off-by-one error within the "QUtf8Decoder::toUnicode()" function ("QUtf8Codec::convertToUnicode()" in Qt 4.x) in codecs/qutfcodec.cpp. This can be exploited to cause a one-byte heap-based buffer overflow via a specially crafted unicode string.

The vulnerability is reported in Qt versions 3.x and 4.x.

NOTE: The vulnerability is reportedly not exploitable in Qt 4.x.

Solution:
Apply patches.

Qt 3.3.8:
http://www.trolltech.com/developer/download/175791_3.diff

Qt 4.3.1:
http://www.trolltech.com/developer/download/175791_4.diff

Provided and/or discovered by:
The vendor credits Dirk Mueller of KDE.

Original Advisory:
http://trolltech.com/company/newsroom/announcements/press.2007-09-03.7564032119

Other References:
https://bugzilla.redhat.com/show_bug.cgi?id=269001


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. My PHP Indexer "d" File Disclosure Vulnerability // 94 views
2. WinFTP "PASV" Denial of Service Vulnerability // 66 views
3. NewLife Blogger "nlb3" SQL Injection Vulnerability // 64 views
4. Ayco Okul "linkid" SQL Injection Vulnerability // 55 views
5. Joomla Ignite Gallery Component "gallery" SQL Injection // 46 views
6. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 43 views
7. Real Estates Classifieds "cat" SQL Injection Vulnerability // 42 views
8. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 36 views
9. GuildFTPd "LIST" Processing Buffer Overflow Vulnerability // 36 views
10. Apache Tomcat "RemoteFilterValve" Security Bypass Security Issue // 34 views