{"id":"CVE-2013-6420","published":"2013-12-17T02:00:00Z","modified":"2024-08-06T17:39:01Z","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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.35405,"percentile":0.98487,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.debian.org/security/2013/dsa-2816","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1824.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/59652","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/64225","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1826.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://support.apple.com/kb/HT6150","tags":["x_refsource_CONFIRM"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1815.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036830","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1813.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1029472","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html","tags":["x_refsource_MISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1825.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ubuntu.com/usn/USN-2055-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.7},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2013-12-17"},"first":{"date":"2013-12-17","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/30395"},"provenance":"source"},"summary":{"text":"The asn1_time_to_time_t function in the openssl extension (ext/openssl/openssl.c) of PHP versions before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 fails to parse the notBefore and notAfter timestamps in X.509 certificates correctly. An attacker who supplies a crafted certificate that the openssl_x509_parse function processes can achieve arbitrary code execution or cause denial of service through memory corruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:14Z"},"euvd":{"id":"EUVD-2013-6233","exploited":false,"provenance":"source"},"exploits":[{"id":30395,"url":"https://www.exploit-db.com/exploits/30395","title":"PHP - 'openssl_x509_parse()' Memory Corruption","date":"2013-12-17","verified":false,"provenance":"source"}]}