{"id":"CVE-2013-6420","url":"https://www.cyber-defence.io/tools/cve/CVE-2013-6420","generatedAt":"2026-11-05T07:17:12.990Z","title":"The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute…","description":"The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.","published":"2013-12-17T04:46:46.000Z","lastModified":"2026-06-17T00:00:27.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":7.5,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P"},"cwe":["CWE-119"],"affected":["php/php","opensuse/opensuse","apple/mac os x"],"epss":{"score":0.35635,"percentile":0.98463,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2013-12-17","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":30395,"kind":"exploit","title":"PHP - 'openssl_x509_parse()' Memory Corruption","url":"https://www.exploit-db.com/exploits/30395","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/dos/30395.txt","file":"exploits/php/dos/30395.txt","published":"2013-12-17","added":"2013-12-17","updated":"2013-12-17","author":"Stefan Esser","type":"dos","platform":"php","port":null,"verified":false,"codes":["CVE-2013-6420","OSVDB-100979"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"http://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 35.6%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21","source":"secalert@redhat.com"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1813.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1815.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1824.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1825.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1826.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/59652","source":"secalert@redhat.com"},{"url":"http://support.apple.com/kb/HT6150","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2013/dsa-2816","source":"secalert@redhat.com"},{"url":"http://www.php.net/ChangeLog-5.php","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/64225","source":"secalert@redhat.com"},{"url":"http://www.securitytracker.com/id/1029472","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-2055-1","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036830","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322","source":"secalert@redhat.com"},{"url":"https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html","tags":["Exploit"],"source":"secalert@redhat.com"},{"url":"http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1813.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1815.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1824.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1825.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1826.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/59652","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT6150","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2013/dsa-2816","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/64225","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1029472","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/USN-2055-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036830","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-6420","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}