11 Jun 2008 16:46
[ expat-Bugs-1990430 ] Parser crash with specially formatted UTF-8 sequences
SourceForge.net <noreply <at> sourceforge.net>
2008-06-11 14:46:50 GMT
2008-06-11 14:46:50 GMT
Bugs item #1990430, was opened at 2008-06-11 00:45 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1990430&group_id=10127 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: www.libexpat.org Group: None Status: Open >Resolution: Fixed Priority: 5 Private: Yes Submitted By: Peter Valchev (petervalchev) >Assigned to: Karl Waclawek (kwaclaw) Summary: Parser crash with specially formatted UTF-8 sequences Initial Comment: I have discovered a way to crash libexpat's xml parser with certain specially formatted UTF-8 sequences. All applications that link w/ expat and use it to render user-provided XML files are affected. As far as I see, the issue is not exploitable, just denial of service. This is the patch that I have come up with, also attached to this email: +++ lib/xmltok_impl.c 2007-12-21 11:11:42.054417000 -0800 <at> <at> -1745,6 +1745,9 <at> <at> switch (BYTE_TYPE(enc, ptr)) { #define LEAD_CASE(n) \ case BT_LEAD ## n: \(Continue reading)
RSS Feed