{"api_version":"1","generated_at":"2026-07-23T10:16:28+00:00","cve":"CVE-2013-4113","urls":{"html":"https://cve.report/CVE-2013-4113","api":"https://cve.report/api/cve/CVE-2013-4113.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2013-4113","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-4113"},"summary":{"title":"CVE-2013-4113","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2013-07-13 13:10:01","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-787","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.8","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://secunia.com/advisories/54165","name":"http://secunia.com/advisories/54165","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Security Advisory SA54165 - Red Hat update for php - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html","name":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] SUSE-SU-2013:1315-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1062.html","name":"http://rhn.redhat.com/errata/RHSA-2013-1062.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://php.net/archive/2013.php#id2013-07-11-1","name":"http://php.net/archive/2013.php#id2013-07-11-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: News Archive - 2013","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://support.apple.com/kb/HT6150","name":"http://support.apple.com/kb/HT6150","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"About the security content of OS X Mavericks v10.9.2 and Security Update 2014-001 - Apple Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/54071","name":"http://secunia.com/advisories/54071","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"About Secunia Research | Flexera","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=65236","name":"https://bugs.php.net/bug.php?id=65236","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP :: Sec Bug #65236 :: heap corruption in xml parser","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271","name":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"208.43.231.11 Git - php-src.git/commit","mime":"text/xml","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1905-1","name":"http://www.ubuntu.com/usn/USN-1905-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"USN-1905-1: PHP vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2013/dsa-2723","name":"http://www.debian.org/security/2013/dsa-2723","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-2723-1 php5","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1050.html","name":"http://rhn.redhat.com/errata/RHSA-2013-1050.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=983689","name":"https://bugzilla.redhat.com/show_bug.cgi?id=983689","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"],"title":"Bug 983689 – CVE-2013-4113 php: xml_parse_into_struct buffer overflow when parsing deeply nested XML","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1061.html","name":"http://rhn.redhat.com/errata/RHSA-2013-1061.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://secunia.com/advisories/54104","name":"http://secunia.com/advisories/54104","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"About Secunia Research | Flexera","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/54163","name":"http://secunia.com/advisories/54163","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Security Advisory SA54163 - Debian update for php5 - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1049.html","name":"http://rhn.redhat.com/errata/RHSA-2013-1049.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html","name":"http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] SUSE-SU-2013:1285-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html","name":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] SUSE-SU-2013:1316-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1063.html","name":"http://rhn.redhat.com/errata/RHSA-2013-1063.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://php.net/ChangeLog-5.php","name":"http://php.net/ChangeLog-5.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: PHP 5 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.php.net/?p=php-src.git;a=commit;h=7d163e8a0880ae8af2dd869071393e5dc07ef271","name":"CONFIRM:http://git.php.net/?p=php-src.git;a=commit;h=7d163e8a0880ae8af2dd869071393e5dc07ef271","refsource":"MITRE","tags":[],"title":"208.43.231.11 Git - php-src.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4113","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4113","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2013","cve_id":"4113","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T16:30:49.986Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"54071","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/54071"},{"name":"RHSA-2013:1061","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1061.html"},{"name":"54165","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/54165"},{"name":"54104","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/54104"},{"name":"SUSE-SU-2013:1316","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271"},{"name":"DSA-2723","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2013/dsa-2723"},{"name":"54163","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/54163"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.php.net/bug.php?id=65236"},{"name":"USN-1905-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1905-1"},{"name":"RHSA-2013:1062","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1062.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://support.apple.com/kb/HT6150"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://php.net/ChangeLog-5.php"},{"name":"RHSA-2013:1050","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1050.html"},{"name":"RHSA-2013:1049","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1049.html"},{"name":"RHSA-2013:1063","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1063.html"},{"name":"SUSE-SU-2013:1315","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html"},{"name":"SUSE-SU-2013:1285","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=983689"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://php.net/archive/2013.php#id2013-07-11-1"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2013-07-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2014-02-27T00:57:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"54071","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/54071"},{"name":"RHSA-2013:1061","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1061.html"},{"name":"54165","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/54165"},{"name":"54104","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/54104"},{"name":"SUSE-SU-2013:1316","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271"},{"name":"DSA-2723","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2013/dsa-2723"},{"name":"54163","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/54163"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.php.net/bug.php?id=65236"},{"name":"USN-1905-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1905-1"},{"name":"RHSA-2013:1062","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1062.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://support.apple.com/kb/HT6150"},{"tags":["x_refsource_CONFIRM"],"url":"http://php.net/ChangeLog-5.php"},{"name":"RHSA-2013:1050","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1050.html"},{"name":"RHSA-2013:1049","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1049.html"},{"name":"RHSA-2013:1063","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1063.html"},{"name":"SUSE-SU-2013:1315","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html"},{"name":"SUSE-SU-2013:1285","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=983689"},{"tags":["x_refsource_CONFIRM"],"url":"http://php.net/archive/2013.php#id2013-07-11-1"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2013-4113","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"54071","refsource":"SECUNIA","url":"http://secunia.com/advisories/54071"},{"name":"RHSA-2013:1061","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1061.html"},{"name":"54165","refsource":"SECUNIA","url":"http://secunia.com/advisories/54165"},{"name":"54104","refsource":"SECUNIA","url":"http://secunia.com/advisories/54104"},{"name":"SUSE-SU-2013:1316","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html"},{"name":"http://git.php.net/?p=php-src.git;a=commit;h=7d163e8a0880ae8af2dd869071393e5dc07ef271","refsource":"CONFIRM","url":"http://git.php.net/?p=php-src.git;a=commit;h=7d163e8a0880ae8af2dd869071393e5dc07ef271"},{"name":"DSA-2723","refsource":"DEBIAN","url":"http://www.debian.org/security/2013/dsa-2723"},{"name":"54163","refsource":"SECUNIA","url":"http://secunia.com/advisories/54163"},{"name":"https://bugs.php.net/bug.php?id=65236","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=65236"},{"name":"USN-1905-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-1905-1"},{"name":"RHSA-2013:1062","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1062.html"},{"name":"http://support.apple.com/kb/HT6150","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT6150"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"RHSA-2013:1050","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1050.html"},{"name":"RHSA-2013:1049","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1049.html"},{"name":"RHSA-2013:1063","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1063.html"},{"name":"SUSE-SU-2013:1315","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html"},{"name":"SUSE-SU-2013:1285","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=983689","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=983689"},{"name":"http://php.net/archive/2013.php#id2013-07-11-1","refsource":"CONFIRM","url":"http://php.net/archive/2013.php#id2013-07-11-1"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2013-4113","datePublished":"2013-07-13T10:00:00.000Z","dateReserved":"2013-06-12T00:00:00.000Z","dateUpdated":"2024-08-06T16:30:49.986Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2013-07-13 13:10:01","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-787","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3.0","versionEndExcluding":"5.3.27","matchCriteriaId":"55A7DAAD-6C07-4A50-A84D-ED39B2BF1F49"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.0","versionEndExcluding":"5.4.18","matchCriteriaId":"D20DC18B-B24C-4538-85DF-2FDC68494790"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2013","CveId":"4113","Ordinal":"1","Title":"CVE-2013-4113","CVE":"CVE-2013-4113","Year":"2013"},"notes":[{"CveYear":"2013","CveId":"4113","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2013-4113"},{"CveYear":"2013","CveId":"4113","Ordinal":"2","NoteData":"2013-07-13","Type":"Other","Title":"Published"},{"CveYear":"2013","CveId":"4113","Ordinal":"3","NoteData":"2014-02-26","Type":"Other","Title":"Modified"}]}}}