Remote code executionin CVE-2013-6420.
Proof of concept public (Exploit-DB).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Nov 2013CVE ID reserved by redhat.
- 17 Dec 2013Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- git.php.net x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- h20564.www2.hp.com vendor-advisory, x_refsource_HP
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- forums.interworx.com x_refsource_CONFIRM
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.securityfocus.com vdb-entry, x_refsource_BID
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- support.apple.com x_refsource_CONFIRM
- www.php.net x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- bugzilla.redhat.com x_refsource_CONFIRM
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.sektioneins.de x_refsource_MISC
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.ubuntu.com vendor-advisory, x_refsource_UBUNTU
Patchminder. CVE-2013-6420: Remote code execution in CVE-2013-6420. https://patchminder.com/cve/cve-2013-6420/ (accessed 5 December 2026).