CVE-2013-6420
php: memory corruption in openssl_x509_parse()
Severity
CriticalRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · December 10, 2013
Updated · June 28, 2026
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
CWE-131 · Incorrect Calculation of Buffer Size