7.5
CWE
772
Advisory Published
Updated

CVE-2010-4657

First published: Wed Oct 06 2010(Updated: )

Kees Cook reported an information leak flaw in the PHP's XMLWriter, triggered by an invalid UTF-8 string passed to the writeAttribute method: <a href="http://thread.gmane.org/gmane.comp.security.oss.general/4122">http://thread.gmane.org/gmane.comp.security.oss.general/4122</a> <a href="http://bugs.php.net/bug.php?id=52998">http://bugs.php.net/bug.php?id=52998</a> <a href="https://bugzilla.gnome.org/show_bug.cgi?id=631551">https://bugzilla.gnome.org/show_bug.cgi?id=631551</a> In the initial report, it was unclear if this is PHP or libxml2 flaw. libxml2 upstream author's reply in the gnome bugzilla bug suggests this issue needs to be addressed in PHP, as the libxml2 API requires input to be valid UTF-8 and \0 terminated string.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/php5
PHP>=5.0.0<5.4.4
Red Hat Enterprise Linux=6.0
Red Hat Enterprise Linux=5.0
Debian GNU/Linux=8.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203