Read the docs
TI-2013-03592 Aliases CVE-2013-4113GHSA-v4m9-5ffp-5x82

ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows…

Priority LOW 38CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.05186 92nd percentileScored 2026-11-07
Fix Fixed Red Hat: 5 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*5.3.0 to before 5.3.27; 5.4.0 to before 5.4.18VulnerablePHP
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.3.0 to before 5.3.27; 5.4.0 to before 5.4.18 Vulnerable ·PHP

Remediation

Red Hat 5 advisories

  • RHSA-2013:1061 Released 2013-07-15 · Red Hat rating Critical
    php security update
    • Red Hat Enterprise Linux Compute Node EUS (v. 6.2) php-5.3.3-3.el6_2.10, php-cli-5.3.3-3.el6_2.10, php-common-5.3.3-3.el6_2.10
    • Red Hat Enterprise Linux Compute Node EUS (v. 6.3) php-5.3.3-14.el6_3.1, php-cli-5.3.3-14.el6_3.1, php-common-5.3.3-14.el6_3.1
    • Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.2) php-5.3.3-3.el6_2.10, php-bcmath-5.3.3-3.el6_2.10, php-dba-5.3.3-3.el6_2.10 +21
    • Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.3) php-5.3.3-14.el6_3.1, php-bcmath-5.3.3-14.el6_3.1, php-dba-5.3.3-14.el6_3.1 +21
    • Red Hat Enterprise Linux EUS (v. 5.6 server) php-5.1.6-27.el5_6.5, php-5.1.6-27.el5_6.5.i386, php-5.1.6-27.el5_6.5.ia64 +47
    • Red Hat Enterprise Linux Long Life (v. 5.3 server) php-5.1.6-23.4.el5_3, php-5.1.6-23.4.el5_3.i386, php-5.1.6-23.4.el5_3.ia64 +47
    • Red Hat Enterprise Linux Server EUS (v. 6.2) php-5.3.3-3.el6_2.10, php-cli-5.3.3-3.el6_2.10, php-common-5.3.3-3.el6_2.10 +9
    • Red Hat Enterprise Linux Server EUS (v. 6.3) php-5.3.3-14.el6_3.1, php-cli-5.3.3-14.el6_3.1, php-common-5.3.3-14.el6_3.1 +9
    • Red Hat Enterprise Linux Server Optional EUS (v. 6.2) php-5.3.3-3.el6_2.10, php-bcmath-5.3.3-3.el6_2.10, php-dba-5.3.3-3.el6_2.10 +12
    • Red Hat Enterprise Linux Server Optional EUS (v. 6.3) php-5.3.3-14.el6_3.1, php-bcmath-5.3.3-14.el6_3.1, php-dba-5.3.3-14.el6_3.1 +12
  • RHSA-2013:1062 Released 2013-07-15 · Red Hat rating Critical
    php53 security update
    • Red Hat Enterprise Linux EUS (v. 5.6 server) php53-5.3.3-1.el5_6.3, php53-5.3.3-1.el5_6.3.i386, php53-5.3.3-1.el5_6.3.ia64 +47
  • RHSA-2013:1063 Released 2013-07-15 · Red Hat rating Critical
    php security update
    • Red Hat Enterprise Linux AS (v. 3 ELS) php-4.3.2-56.ent, php-4.3.2-56.ent.i386, php-devel-4.3.2-56.ent.i386 +5
    • Red Hat Enterprise Linux AS (v. 4 ELS) php-4.3.9-3.37.el4, php-4.3.9-3.37.el4.i386, php-4.3.9-3.37.el4.ia64 +39
    • Red Hat Enterprise Linux ES (v. 3 ELS) php-4.3.2-56.ent, php-4.3.2-56.ent.i386, php-devel-4.3.2-56.ent.i386 +5
    • Red Hat Enterprise Linux ES (v. 4 ELS) php-4.3.9-3.37.el4, php-4.3.9-3.37.el4.i386, php-devel-4.3.9-3.37.el4 +25
Show 2 more Red Hat advisories
  • RHSA-2013:1049 Released 2013-07-12 · Red Hat rating Critical
    php security update
    • Red Hat Enterprise Linux (v. 5 server) php-5.1.6-40.el5_9, php-5.1.6-40.el5_9.i386, php-5.1.6-40.el5_9.ia64 +47
    • Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-23.el6_4, php-bcmath-5.3.3-23.el6_4, php-cli-5.3.3-23.el6_4 +24
    • Red Hat Enterprise Linux HPC Node (v. 6) php-5.3.3-23.el6_4, php-cli-5.3.3-23.el6_4, php-common-5.3.3-23.el6_4
    • Red Hat Enterprise Linux HPC Node Optional (v. 6) php-5.3.3-23.el6_4, php-bcmath-5.3.3-23.el6_4, php-dba-5.3.3-23.el6_4 +22
    • Red Hat Enterprise Linux Server (v. 6) php-5.3.3-23.el6_4, php-cli-5.3.3-23.el6_4, php-common-5.3.3-23.el6_4 +9
    • Red Hat Enterprise Linux Server Optional (v. 6) php-5.3.3-23.el6_4, php-bcmath-5.3.3-23.el6_4, php-dba-5.3.3-23.el6_4 +13
    • Red Hat Enterprise Linux Workstation (v. 6) php-5.3.3-23.el6_4, php-cli-5.3.3-23.el6_4, php-common-5.3.3-23.el6_4 +9
    • Red Hat Enterprise Linux Workstation Optional (v. 6) php-5.3.3-23.el6_4, php-bcmath-5.3.3-23.el6_4, php-dba-5.3.3-23.el6_4 +13
  • RHSA-2013:1050 Released 2013-07-12 · Red Hat rating Critical
    php53 security update
    • Red Hat Enterprise Linux (v. 5 server) php53-5.3.3-13.el5_9.1, php53-5.3.3-13.el5_9.1.i386, php53-5.3.3-13.el5_9.1.ia64 +47

Vendor assessments

Red Hat

Red Hat rating: Critical. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux (v. 5 server)Fixed RHSA-2013:1049, RHSA-2013:1050
Red Hat Enterprise Linux AS (v. 3 ELS)Fixed RHSA-2013:1063
Red Hat Enterprise Linux AS (v. 4 ELS)Fixed RHSA-2013:1063
Red Hat Enterprise Linux Compute Node EUS (v. 6.2)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Compute Node EUS (v. 6.3)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.2)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.3)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Desktop Optional (v. 6)Fixed RHSA-2013:1049
Red Hat Enterprise Linux ES (v. 3 ELS)Fixed RHSA-2013:1063
Red Hat Enterprise Linux ES (v. 4 ELS)Fixed RHSA-2013:1063
Red Hat Enterprise Linux EUS (v. 5.6 server)Fixed RHSA-2013:1061, RHSA-2013:1062
Red Hat Enterprise Linux HPC Node (v. 6)Fixed RHSA-2013:1049
Red Hat Enterprise Linux HPC Node Optional (v. 6)Fixed RHSA-2013:1049
Red Hat Enterprise Linux Long Life (v. 5.3 server)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2013:1049
Red Hat Enterprise Linux Server EUS (v. 6.2)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Server EUS (v. 6.3)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Server Optional (v. 6)Fixed RHSA-2013:1049
Red Hat Enterprise Linux Server Optional EUS (v. 6.2)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Server Optional EUS (v. 6.3)Fixed RHSA-2013:1061
Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2013:1049
Red Hat Enterprise Linux Workstation Optional (v. 6)Fixed RHSA-2013:1049
Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-4113
  2. 2026-10-03 Alias added: GHSA-v4m9-5ffp-5x82

References

  • TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2012-01607 sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI… KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
  • TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
  • TI-2015-00205 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… CVSS 2.0HIGH 10.0
See all 739 →

Sources