CVE-2010-4008: Buffer Overflow

Published Oct 21, 2010
·
Updated

A security flaw was found in the way libxml traversed XPath axis of particular Extensible Markup Language (XML) file and tested namespace / attribute context nodes for their validity. A remote attacker could provide a specially-crafted XML file, which once opened with an application linked against libxml would cause that application to crash (due stack frame overflow and / or with NULL pointer dereference on some architectures).

Chrome bug report (not accessible for public audience): [1] http://code.google.com/p/chromium/issues/detail?id=58731

Upstream changesets: [2] http://git.gnome.org/browse/libxml2/commit/?id=91d19754d46acd4a639a8b9e31f50f31c78f8c9c [3] http://git.gnome.org/browse/libxml2/commit/?id=ea90b894146030c214a7df6d8375310174f134b9

Acknowledgements:

Red Hat would like to thank the Google Security Team for reporting this issue. Upstream acknowledges Bui Quang Minh from Bkis as the original reporter.

Other sources

libxml2 before 2.7.8, as used in Google Chrome before 7.0.517.44, Apple Safari 5.0.2 and earlier, and other products, reads from invalid memory locations during processing of malformed XPath expressions, which allows context-dependent attackers to cause a denial of service (application crash) via a crafted XML document.

— MITRE

Affected Software

26 affected componentsFixes available
Google Chrome<7.0.517.44
Apple iPhone OS<4.2
Apple iOS and macOS<10.6.7
Apple iTunes<10.2
Apple Safari<5.0.4
Xmlsoft Libxml2<2.7.8
Debian Debian Linux=5.0
Debian Debian Linux=6.0
Canonical Ubuntu Linux=10.10
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=9.10
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Server Eus=6.3
openSUSE openSUSE=11.1
openSUSE openSUSE=11.2
openSUSE openSUSE=11.3
SUSE SUSE Linux Enterprise Server=11-sp1
SUSE SUSE Linux Enterprise Server=11
SUSE SUSE Linux Enterprise Server=10-sp3
Apache OpenOffice>=2.0.0<=2.4.3
Apache OpenOffice>=3.0.0<3.3.0
redhat/libxml2<2.7.8
2.7.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libxml2 to a version that resolves this vulnerability.

    Fixed in 2.7.8

Event History

Oct 21, 2010
Data Sourced
via Red Hat·10:57 AM
DescriptionSeverityAffected Software
Nov 16, 2010
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Nov 17, 2010
Data Sourced
01:00 AM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·01:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 4, 2020
Data Sourced
08:31 PM
RemedySeverity

Frequently Asked Questions

1

What is the severity of CVE-2010-4008?

CVE-2010-4008 has a severity rating that indicates it could lead to a denial of service due to application crashes.

2

How do I fix CVE-2010-4008?

To fix CVE-2010-4008, update the affected software to versions higher than libxml2 2.7.8, Google Chrome 7.0.517.44, and Apple Safari 5.0.2.

3

What products are affected by CVE-2010-4008?

CVE-2010-4008 affects multiple products, including Google Chrome, Apple Safari, Apple iTunes, and libxml2 prior to 2.7.8.

4

Can CVE-2010-4008 cause data loss?

CVE-2010-4008 primarily causes application crashes, which can lead to data loss if unsaved work is present at the time of the crash.

5

Is there a workaround for CVE-2010-4008?

There is no officially recommended workaround for CVE-2010-4008 aside from applying the necessary software updates.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203