Red Hat Bugzilla – Bug 425927
CVE-2007-6284 libxml2: infinite loop in UTF-8 decoding
Last modified: 2016-03-04 07:00:24 EST
There exists a denial of service problem in libxml's UTF-8
decoding functions. The xmlCurrentChar() function does not check
UTF-8 correctness and certain multibyte combinations can cause
the library to enter an infinite loop and hang, consuming
system resources. It is strongly recommended to upgrade if
your application accepts arbitrary xml user input.
The issue was originally discovered at Google by Brad Fitzpatrick
and further investigated by Peter Valchev and Will Drewry.
Patch and debugging by Daniel Veillard (libxml).
Red Hat would like to thank the Google Security Team for responsibly disclosing this issue.
Created attachment 289757 [details]
Upstream patch written by Daniel Veillard
Note that I had to hange the patch slightly on RHEL-2.1 and RHEL-3 due to
small differences in code and the lack of availability of an error reporting
Oh and I'm the upstream maintainer too if that can be of importance.
(In reply to comment #4)
> Oh and I'm the upstream maintainer too if that can be of importance.
I'm aware of it Daniel, and I'm aware that you have written the patch, it's also
mentioned in the initial description of this bug. Your patch was explicitly
added to the bug to make sure all relevant information is available here for
anyone searching for relevant information.
Public now, lifting embargo:
libxml2-2.6.31-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
libxml2-2.6.31-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
This issue was addressed in:
Red Hat Enterprise Linux: