Back
CVE-2013-6420
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…
High7.5EPSS 35.6%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 35.6% · top 1.5% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (19)
- DSA-2816 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2013:1824 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- HPSBMU03112 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- openSUSE-SU-2013:1964 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 59652 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 64225 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2013:1826 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://support.apple.com/kb/HT6150 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2013:1815 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1036830 (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2013:1963 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2013:1813 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1029472 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2013:1825 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-2055-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2013-6420)Record last updated .