CVE-2013-6420

high
Published 2013-12-17 · Modified 2026-04-29
CVSS v3
CVSS v2
7.5
VIR risk
8.5

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.

Predictions

Exploit likelihood
55%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://bugzilla.redhat.com/show_bug.cgi?id=1036830

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2013-6420.html

Exploits

Exploit-DB

OS impact

OSVersionStatusFixed in
suse slesaffected
suse suse11.4affected
suse suse12.2affected
suse suse12.3affected
suse suse13.1affected
macos macosaffected

Application impact

VendorProductVersionsFixed
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.13
phpphp5.4.14
phpphp5.4.15
phpphp5.4.16
phpphp5.4.17
phpphp5.4.18
phpphp5.4.19
phpphp5.4.20
phpphp5.4.21
phpphp5.4.22
phpphp{"endIncluding":"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
phpphp5.3.25
phpphp5.3.26
phpphp5.5.0
phpphp5.5.1
phpphp5.5.2
phpphp5.5.3
phpphp5.5.4
phpphp5.5.5
phpphp5.5.6

References

CWEs

CWE-119

Verify integrity in audit chain (admin only). AS-IS.