Live threats

All CVEs / Php

CVE-2013-6420Php

High 7.5 No auth neededHigh EPSS

Priority
64
CVSS 2.0
7.5
EPSS
35.4%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Dec 17, 2013
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
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
phpphp5.3.5
phpphp5.3.6
phpphp5.3.7
phpphp5.3.8
phpphp5.3.9
phpphp5.3.10
phpphp5.3.11
phpphp5.3.12
phpphp5.3.13
phpphp5.3.14
phpphp5.3.15
phpphp5.3.16
phpphp5.3.17
phpphp5.3.18
phpphp5.3.19
phpphp5.3.20
phpphp5.3.21
phpphp5.3.22
phpphp5.3.23
phpphp5.3.24

and 21 more in the JSON

Official sources

References

Links published by the sources. Open them with care.