An array index error, leading to invalid free flaw was found in the way XML extension of PHP, a scripting language for creating dynamic web sites, used to convert certain XML files into PHP language internal structures. Remote attacker could provide a specially-crafted XML file, that when opened in an PHP application would lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running the application. References: http://php.net/archive/2013.php#id2013-07-11-1 http://www.php.net/ChangeLog-5.php#5.3.27 Upstream bug report: https://bugs.php.net/bug.php?id=65236 Relevant patch: https://bugs.php.net/patch-display.php?bug_id=65236&patch=bug65236.diff&revision=latest http://git.php.net/?p=php-src.git;a=commitdiff;h=7d163e8a0880ae8af2dd869071393e5dc07ef271
Testing script from upstream bug: <?php xml_parse_into_struct(xml_parser_create_ns(), str_repeat("<blah>", 1000), $a); http://git.php.net/?p=php-src.git;a=commitdiff;h=710eee5555bc5c95692bd3c84f5d2b5d687349b6
This issue affects the versions of the php and php53 packages, as shipped with Red Hat Enterprise Linux 5. -- This issue affects the version of the php package, as shipped with Red Hat Enterprise Linux 6. -- This issue affects the versions of the php package, as shipped with Fedora release of 17, 18, and 19. Please schedule an update.
Created php tracking bugs for this issue: Affects: fedora-all [bug 983698]
The CVE identifier of CVE-2013-4113 has been assigned to this issue: http://www.openwall.com/lists/oss-security/2013/07/11/6
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2013:1050 https://rhn.redhat.com/errata/RHSA-2013-1050.html
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 5 Via RHSA-2013:1049 https://rhn.redhat.com/errata/RHSA-2013-1049.html
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Extended Lifecycle Support Red Hat Enterprise Linux 3 Extended Lifecycle Support Via RHSA-2013:1063 https://rhn.redhat.com/errata/RHSA-2013-1063.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5.6 EUS - Server Only Via RHSA-2013:1062 https://rhn.redhat.com/errata/RHSA-2013-1062.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5.3 Long Life Red Hat Enterprise Linux 5.6 EUS - Server Only Red Hat Enterprise Linux 6.2 EUS - Server Only Red Hat Enterprise Linux 6.3 EUS - Server Only Via RHSA-2013:1061 https://rhn.redhat.com/errata/RHSA-2013-1061.html
This has also been corrected in upstream 5.4.18: http://www.php.net/ChangeLog-5.php#5.4.18
Statement: This issue does not affect the version of php54 as shipped with Red Hat Software Collections 1.