← All CVEs

CVE-2013-6420

high · 7.5

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.

7.5
CVSS
35.6%
EPSS (exploit prob.)
98th
EPSS percentile
2013-12-17
Published

AV:N/AC:L/Au:N/C:P/I:P/A:P

Weaknesses

CWE-119

Affected products

VendorProductAffected versions
phpphp5.4.0
phpphp5.4.1
phpphp5.4.2
phpphp5.4.3
phpphp5.4.4
phpphp5.4.5
phpphp5.4.6
phpphp5.4.7
phpphp5.4.8
phpphp5.4.9
phpphp5.4.10
phpphp5.4.11
phpphp5.4.12
phpphp5.4.12
phpphp5.4.12
phpphp5.4.13
phpphp5.4.13
phpphp5.4.14
phpphp5.4.14
phpphp5.4.15
phpphp5.4.15
phpphp5.4.16
phpphp5.4.16
phpphp5.4.17
phpphp5.4.18
phpphp5.4.19
phpphp5.4.20
phpphp5.4.21
phpphp5.4.22
opensuseopensuse11.4
opensuseopensuse12.2
opensuseopensuse12.3
opensuseopensuse13.1
applemac_os_x<= 10.9.1
phpphp<= 5.3.27
phpphp5.3.0
phpphp5.3.1
phpphp5.3.2
phpphp5.3.3
phpphp5.3.4

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2013-6420