Home / Xmlsoft / Libxml2 / CVE-2013-0338
CVE-2013-0338: is it exploited, and which versions of Xmlsoft Libxml2 are affected and fixed?
CVE-2013-0338 is a memory corruption (buffer overflow) vulnerability in Xmlsoft Libxml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: libxml2 through 2.9.0, libxml2 1.7.0, libxml2 1.7.1 and 39 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2013-0338?
libxml2 2.9.0 and earlier allows context-dependent attackers to cause a denial of service (CPU and memory consumption) via an XML file containing an entity declaration with long replacement text and many references to this entity, aka "internal entity expansion" with linear complexity.
From the CVE record by redhat, last updated August 6, 2024, 14:25 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | through 2.9.0 | application |
| xmlsoft | libxml2 | 1.7.0 | application |
| xmlsoft | libxml2 | 1.7.1 | application |
| xmlsoft | libxml2 | 1.7.2 | application |
| xmlsoft | libxml2 | 1.7.3 | application |
| xmlsoft | libxml2 | 1.7.4 | application |
| xmlsoft | libxml2 | 1.8.0 | application |
| xmlsoft | libxml2 | 1.8.1 | application |
| xmlsoft | libxml2 | 1.8.2 | application |
| xmlsoft | libxml2 | 1.8.3 | application |
| xmlsoft | libxml2 | 1.8.4 | application |
| xmlsoft | libxml2 | 1.8.5 | application |
| xmlsoft | libxml2 | 1.8.6 | application |
| xmlsoft | libxml2 | 1.8.7 | application |
| xmlsoft | libxml2 | 1.8.9 | application |
| xmlsoft | libxml2 | 1.8.10 | application |
| xmlsoft | libxml2 | 1.8.13 | application |
| xmlsoft | libxml2 | 1.8.14 | application |
| xmlsoft | libxml2 | 1.8.16 | application |
| xmlsoft | libxml2 | 2.0.0 | application |
| xmlsoft | libxml2 | 2.1.0 | application |
| xmlsoft | libxml2 | 2.1.1 | application |
| xmlsoft | libxml2 | 2.2.0 | application |
| xmlsoft | libxml2 | 2.2.1 | application |
| xmlsoft | libxml2 | 2.2.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:49 UTC.
How severe is CVE-2013-0338?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-0338 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.86% probability of exploitation activity in the next 30 days, percentile 87.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- 52662 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2013:0555 vendor-advisory, x_refsource_SUSE
- SUSE-SU-2013:1627 vendor-advisory, x_refsource_SUSE
- https://bugzilla.redhat.com/show_bug.cgi?id=912400 x_refsource_CONFIRM
- openSUSE-SU-2013:0552 vendor-advisory, x_refsource_SUSE
- SSRT101996 vendor-advisory, x_refsource_HP
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html x_refsource_CONFIRM
- DSA-2652 vendor-advisory, x_refsource_DEBIAN
- 55568 third-party-advisory, x_refsource_SECUNIA
- https://git.gnome.org/browse/libxml2/commit/?id=23f05e0c33987d6605387b300c4be5da2120a7ab x_refsource_CONFIRM
- USN-1782-1 vendor-advisory, x_refsource_UBUNTU
- MDVSA-2013:056 vendor-advisory, x_refsource_MANDRIVA
When was it published, and where is the official record?
- Reserved
- December 6, 2012
- Published
- April 25, 2013, 23:00 UTC
- CVE record updated
- August 6, 2024, 14:25 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:49 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libxml2?
- Sep 5, 2026CVE-2026-86144 xmlsoft libxml2: incorrect resource transfer
- Sep 5, 2026CVE-2026-86143 xmlsoft libxml2: integer Coercion Error
- Sep 5, 2026CVE-2026-86142 xmlsoft libxml2: heap buffer overflow
- Sep 5, 2026CVE-2026-86141 xmlsoft libxml2: unchecked return value
- Sep 5, 2026CVE-2026-86140 xmlsoft libxml2: stack buffer overflow
- Sep 5, 2026CVE-2026-86139 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86138 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86137 xmlsoft libxml2: out-of-bounds read
Questions about CVE-2013-0338
Is CVE-2013-0338 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 2.86% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Xmlsoft Libxml2 are affected by CVE-2013-0338?
libxml2 through 2.9.0, libxml2 1.7.0, libxml2 1.7.1, libxml2 1.7.2, libxml2 1.7.3, libxml2 1.7.4 and 36 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2013-0338?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2013-0338?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-0338?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.