VULNERABILITY INTELLIGENCE
CVE-2013-6420
CVSS score7.5 HIGH
EPSS probability35.63%
CISA KEVNot currently listed
Published2013-12-17
Last modified2026-06-17
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
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.
Weakness classification
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer