VDB

CVE-2013-6420

CVE-2013-6420 PUBLISHED

Reported by redhat · Published December 17, 2013

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
phpphp5.3.27
mac_os_xapple10.9.1

Affected products

VendorProductVersions
n/an/an/a
phpphp
n/an/a*

Timeline

  • Dec 9, 2013 CVE Published
  • Dec 13, 2013 PoC Published (3 in total, the first dated here)
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (9 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Jul 17, 2026 Distribution Patch (3 in total, the first dated here)
  • Oct 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2013-6420
vulnetix vdb fixes CVE-2013-6420

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-6420/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›