php: xml_parse_into_struct buffer overflow when parsing deeply nested XML
Published Jul 13, 2013
6.8
MEDIUMCVSS 2.0
EPSS 5.19%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 3 Extended Lifecycle Support
php-0:4.3.2-56.ent
Fixed · RHSA-2013:1063
Red Hat Enterprise Linux 4 Extended Lifecycle Support
php-0:4.3.9-3.37.el4
Fixed · RHSA-2013:1063
Red Hat Enterprise Linux 5
php-0:5.1.6-40.el5_9
Fixed · RHSA-2013:1049
Red Hat Enterprise Linux 5
php53-0:5.3.3-13.el5_9.1
Fixed · RHSA-2013:1050
Red Hat Enterprise Linux 5.3 Long Life
php-0:5.1.6-23.4.el5_3
Fixed · RHSA-2013:1061
Red Hat Enterprise Linux 5.6 EUS - Server Only
php-0:5.1.6-27.el5_6.5
Fixed · RHSA-2013:1061
Red Hat Enterprise Linux 5.6 EUS - Server Only
php53-0:5.3.3-1.el5_6.3
Fixed · RHSA-2013:1062
Red Hat Enterprise Linux 6
php-0:5.3.3-23.el6_4
Fixed · RHSA-2013:1049
Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only
php-0:5.3.3-3.el6_2.10
Fixed · RHSA-2013:1061
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only
php-0:5.3.3-14.el6_3.1
Fixed · RHSA-2013:1061
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Software Collections
php54-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 Extended Lifecycle Support | php-0:4.3.2-56.ent | Fixed | RHSA-2013:1063 |
| Red Hat Enterprise Linux 4 Extended Lifecycle Support | php-0:4.3.9-3.37.el4 | Fixed | RHSA-2013:1063 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-40.el5_9 | Fixed | RHSA-2013:1049 |
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-13.el5_9.1 | Fixed | RHSA-2013:1050 |
| Red Hat Enterprise Linux 5.3 Long Life | php-0:5.1.6-23.4.el5_3 | Fixed | RHSA-2013:1061 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | php-0:5.1.6-27.el5_6.5 | Fixed | RHSA-2013:1061 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | php53-0:5.3.3-1.el5_6.3 | Fixed | RHSA-2013:1062 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-23.el6_4 | Fixed | RHSA-2013:1049 |
| Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only | php-0:5.3.3-3.el6_2.10 | Fixed | RHSA-2013:1061 |
| Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only | php-0:5.3.3-14.el6_3.1 | Fixed | RHSA-2013:1061 |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Software Collections | php54-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the version of php54 as shipped with Red Hat Software Collections 1.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.19% (0.05186) | 92.20th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.19% (0.05186) | 91.36th | v5 (v2026.06.15) |
| Dec 28, 2025 | 19.02% (0.19022) | 95.12th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.79% (0.08792) | 92.27th | v4 (v2025.03.14) |
| Oct 28, 2025 | 19.02% (0.19022) | 95.05th | v4 (v2025.03.14) |
| Oct 27, 2025 | 8.79% (0.08792) | 92.16th | v4 (v2025.03.14) |
| Oct 1, 2025 | 19.02% (0.19022) | 95.13th | v4 (v2025.03.14) |
| Jul 30, 2025 | 9.50% (0.09498) | 92.50th | v4 (v2025.03.14) |
| Mar 30, 2025 | 20.32% (0.20325) | 95.05th | v4 (v2025.03.14) |
| Mar 29, 2025 | 30.46% (0.30465) | 94.79th | v4 (v2025.03.14) |
| Mar 17, 2025 | 20.32% (0.20325) | 95.06th | v4 (v2025.03.14) |
| Feb 10, 2025 | 47.71% (0.47711) | 97.60th | v3 (v2023.03.01) |
| Dec 17, 2024 | 51.32% (0.51324) | 97.65th | v3 (v2023.03.01) |
| Nov 8, 2023 | 61.44% (0.61439) | 97.48th | v3 (v2023.03.01) |
| Aug 30, 2023 | 73.21% (0.73214) | 97.67th | v3 (v2023.03.01) |
| Mar 7, 2023 | 78.16% (0.78162) | 97.64th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.93% (0.03932) | 85.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.93% (0.03932) | 84.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.93% (0.03932) | 67.70th | v2 (v2022.01.01) |
References (23)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271 x_refsource_CONFIRM
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMVendor Advisory
- http://php.net/archive/2013.php#id2013-07-11-1 x_refsource_CONFIRMVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1049.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1050.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1061.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1062.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1063.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/54071 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/54104 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/54163 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/54165 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://support.apple.com/kb/HT6150 x_refsource_CONFIRMThird Party Advisory
- http://www.debian.org/security/2013/dsa-2723 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.ubuntu.com/usn/USN-1905-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2013-4113 Vendor Advisory
- https://bugs.php.net/bug.php?id=65236 x_refsource_CONFIRMVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=983689 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-4113
- https://www.cve.org/CVERecord?id=CVE-2013-4113
Change history (0)
No recorded changes yet.