CVE-2013-0339: Medium severity libxml2-devel vulnerability

Published Feb 25, 2013
·
Updated

A denial of service flaw was found in the way libxml2, a library providing support to read, modify and write XML and HTML files, performed string substitutions when entity values for external entity references replacement (--noent option) was requested / enabled during the XML file parsing. A remote attacker could provide a specially-crafted XML file containing an external entity expansion, when processed would lead to excessive CPU consumption (denial of service).

This a different flaw from CVE-2013-0338.

Upstream patch:

http://git.gnome.org/browse/libxml2/commit/?id=23f05e0c33987d6605387b300c4be5da2120a7ab

Other sources

libxml2 through 2.9.1 does not properly handle external entities expansion unless an application developer uses the xmlSAX2ResolveEntity or xmlSetExternalEntityLoader function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because libxml2 already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed and each affected application would need its own CVE.

MITRE

Affected Software

135 affected components
Xmlsoft Libxml2<=2.9.1
Xmlsoft Libxml2=1.7.0
Xmlsoft Libxml2=1.7.1
Xmlsoft Libxml2=1.7.2
Xmlsoft Libxml2=1.7.3
Xmlsoft Libxml2=1.7.4
Xmlsoft Libxml2=1.8.0
Xmlsoft Libxml2=1.8.1
Xmlsoft Libxml2=1.8.2
Xmlsoft Libxml2=1.8.3
Xmlsoft Libxml2=1.8.4
Xmlsoft Libxml2=1.8.5
Xmlsoft Libxml2=1.8.6
Xmlsoft Libxml2=1.8.7
Xmlsoft Libxml2=1.8.9
Xmlsoft Libxml2=1.8.10
Xmlsoft Libxml2=1.8.13
Xmlsoft Libxml2=1.8.14
Xmlsoft Libxml2=1.8.16
Xmlsoft Libxml2=2.0.0
Xmlsoft Libxml2=2.1.0
Xmlsoft Libxml2=2.1.1
Xmlsoft Libxml2=2.2.0
Xmlsoft Libxml2=2.2.0-beta
Xmlsoft Libxml2=2.2.1
Xmlsoft Libxml2=2.2.2
Xmlsoft Libxml2=2.2.3
Xmlsoft Libxml2=2.2.4
Xmlsoft Libxml2=2.2.5
Xmlsoft Libxml2=2.2.6
Xmlsoft Libxml2=2.2.7
Xmlsoft Libxml2=2.2.8
Xmlsoft Libxml2=2.2.9
Xmlsoft Libxml2=2.2.10
Xmlsoft Libxml2=2.2.11
Xmlsoft Libxml2=2.3.0
Xmlsoft Libxml2=2.3.1
Xmlsoft Libxml2=2.3.2
Xmlsoft Libxml2=2.3.3
Xmlsoft Libxml2=2.3.4
Xmlsoft Libxml2=2.3.5
Xmlsoft Libxml2=2.3.6
Xmlsoft Libxml2=2.3.7
Xmlsoft Libxml2=2.3.8
Xmlsoft Libxml2=2.3.9
Xmlsoft Libxml2=2.3.10
Xmlsoft Libxml2=2.3.11
Xmlsoft Libxml2=2.3.12
Xmlsoft Libxml2=2.3.13
Xmlsoft Libxml2=2.3.14
Xmlsoft Libxml2=2.4.1
Xmlsoft Libxml2=2.4.2
Xmlsoft Libxml2=2.4.3
Xmlsoft Libxml2=2.4.4
Xmlsoft Libxml2=2.4.5
Xmlsoft Libxml2=2.4.6
Xmlsoft Libxml2=2.4.7
Xmlsoft Libxml2=2.4.8
Xmlsoft Libxml2=2.4.9
Xmlsoft Libxml2=2.4.10
Xmlsoft Libxml2=2.4.11
Xmlsoft Libxml2=2.4.12
Xmlsoft Libxml2=2.4.13
Xmlsoft Libxml2=2.4.14
Xmlsoft Libxml2=2.4.15
Xmlsoft Libxml2=2.4.16
Xmlsoft Libxml2=2.4.17
Xmlsoft Libxml2=2.4.18
Xmlsoft Libxml2=2.4.19
Xmlsoft Libxml2=2.4.20
Xmlsoft Libxml2=2.4.21
Xmlsoft Libxml2=2.4.22
Xmlsoft Libxml2=2.4.23
Xmlsoft Libxml2=2.4.24
Xmlsoft Libxml2=2.4.25
Xmlsoft Libxml2=2.4.26
Xmlsoft Libxml2=2.4.27
Xmlsoft Libxml2=2.4.28
Xmlsoft Libxml2=2.4.29
Xmlsoft Libxml2=2.4.30
Xmlsoft Libxml2=2.5.0
Xmlsoft Libxml2=2.5.4
Xmlsoft Libxml2=2.5.7
Xmlsoft Libxml2=2.5.8
Xmlsoft Libxml2=2.5.10
Xmlsoft Libxml2=2.5.11
Xmlsoft Libxml2=2.6.0
Xmlsoft Libxml2=2.6.1
Xmlsoft Libxml2=2.6.2
Xmlsoft Libxml2=2.6.3
Xmlsoft Libxml2=2.6.4
Xmlsoft Libxml2=2.6.5
Xmlsoft Libxml2=2.6.6
Xmlsoft Libxml2=2.6.7
Xmlsoft Libxml2=2.6.8
Xmlsoft Libxml2=2.6.9
Xmlsoft Libxml2=2.6.11
Xmlsoft Libxml2=2.6.12
Xmlsoft Libxml2=2.6.13
Xmlsoft Libxml2=2.6.14
Xmlsoft Libxml2=2.6.16
Xmlsoft Libxml2=2.6.17
Xmlsoft Libxml2=2.6.18
Xmlsoft Libxml2=2.6.20
Xmlsoft Libxml2=2.6.21
Xmlsoft Libxml2=2.6.22
Xmlsoft Libxml2=2.6.23
Xmlsoft Libxml2=2.6.24
Xmlsoft Libxml2=2.6.25
Xmlsoft Libxml2=2.6.26
Xmlsoft Libxml2=2.6.27
Xmlsoft Libxml2=2.6.28
Xmlsoft Libxml2=2.6.29
Xmlsoft Libxml2=2.6.30
Xmlsoft Libxml2=2.6.31
Xmlsoft Libxml2=2.6.32
Xmlsoft Libxml2=2.7.0
Xmlsoft Libxml2=2.7.1
Xmlsoft Libxml2=2.7.2
Xmlsoft Libxml2=2.7.3
Xmlsoft Libxml2=2.7.4
Xmlsoft Libxml2=2.7.5
Xmlsoft Libxml2=2.7.6
Xmlsoft Libxml2=2.7.7
Xmlsoft Libxml2=2.7.8
Xmlsoft Libxml2=2.8.0
Xmlsoft Libxml2=2.9.0
Xmlsoft Libxml2=2.9.0-rc1
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.04
Debian Debian Linux=6.0
Debian Debian Linux=7.0
SUSE Linux Enterprise Server=10-sp4

Event History

Feb 25, 2013
Data Sourced
05:25 AM
DescriptionSeverityAffected Software
Jan 21, 2014
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Rejected
06:55 PM

Frequently Asked Questions

1

What is the severity of CVE-2013-0339?

CVE-2013-0339 has been classified as a denial of service vulnerability, which can adversely impact the availability of affected systems.

2

How do I fix CVE-2013-0339?

To fix CVE-2013-0339, you should upgrade to the latest version of libxml2 that addresses this vulnerability.

3

Which versions of libxml2 are affected by CVE-2013-0339?

CVE-2013-0339 affects multiple versions of libxml2 prior to 2.9.1.

4

Can CVE-2013-0339 be exploited remotely?

Yes, CVE-2013-0339 can potentially be exploited remotely through malicious XML files.

5

What are the potential consequences of CVE-2013-0339?

The primary consequence of CVE-2013-0339 is a denial of service attack, which can cause the application using libxml2 to crash or become unresponsive.

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