cve.bz

CVE-2013-6420

no score yetExploitEPSS 35%Fix available

No CVSS score yet. EPSS 35% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
35% (unchanged from 35% a week ago; 36% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-6420 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-6420?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-6420?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-6420 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:php5.4.0
php:php5.4.1
php:php5.4.2
php:php5.4.3
php:php5.4.4
php:php5.4.5
php:php5.4.6
php:php5.4.7
php:php5.4.8
php:php5.4.9
php:php5.4.10
php:php5.4.11
php:php5.4.12
php:php5.4.12:rc1
php:php5.4.12:rc2
php:php5.4.13
php:php5.4.13:rc1
php:php5.4.14
php:php5.4.14:rc1
php:php5.4.15
php:php5.4.15:rc1
php:php5.4.16
php:php5.4.16:rc1
php:php5.4.17
php:php5.4.18
php:php5.4.19
php:php5.4.20
php:php5.4.21
php:php5.4.22
opensuse:opensuse11.4
opensuse:opensuse12.2
opensuse:opensuse12.3
opensuse:opensuse13.1
apple:mac_os_xthrough 10.9.1
php:phpthrough 5.3.27
php:php5.3.0
php:php5.3.1
php:php5.3.2
php:php5.3.3
php:php5.3.4
php:php5.3.5
php:php5.3.6
php:php5.3.7
php:php5.3.8
php:php5.3.9
php:php5.3.10
php:php5.3.11
php:php5.3.12
php:php5.3.13
php:php5.3.14
php:php5.3.15
php:php5.3.16
php:php5.3.17
php:php5.3.18
php:php5.3.19
php:php5.3.20
php:php5.3.21
php:php5.3.22
php:php5.3.23
php:php5.3.24
php:php5.3.25
php:php5.3.26
php:php5.5.0
php:php5.5.0:alpha1
php:php5.5.0:alpha2
php:php5.5.0:alpha3
php:php5.5.0:alpha4
php:php5.5.0:alpha5
php:php5.5.0:alpha6
php:php5.5.0:beta1
php:php5.5.0:beta2
php:php5.5.0:beta3
php:php5.5.0:beta4
php:php5.5.0:rc1
php:php5.5.0:rc2
php:php5.5.1
php:php5.5.2
php:php5.5.3
php:php5.5.4
php:php5.5.5
php:php5.5.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0php55.3.3-7+squeeze18DSA-2816-1
Debian7php55.4.4-14+deb7u7DSA-2816-1
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverphp, php-gd, php-cli and 17 more0:5.1.6-43.el5_10RHSA-2013:1814
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverphp53, php53-gd, php53-cli and 19 more0:5.3.3-22.el5_10RHSA-2013:1813
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morephp, php-gd, php-cli and 25 more0:5.3.3-27.el6_5RHSA-2013:1813
Red Hatrhel_els:3::as, rhel_els:3::esphp, php-imap, php-ldap and 5 more0:4.3.2-57.entRHSA-2013:1826
Red Hatrhel_els:4::as, rhel_els:4::esphp, php-gd, php-imap and 12 more0:4.3.9-3.37.el4.1RHSA-2013:1826
Red Hatrhel_eus:5.6php, php-gd, php-cli and 17 more0:5.1.6-27.el5_6.6RHSA-2013:1824
Red Hatrhel_eus:5.6php53, php53-gd, php53-cli and 19 more0:5.3.3-1.el5_6.4RHSA-2013:1825
Red Hatrhel_eus:5.9php, php-gd, php-cli and 17 more0:5.1.6-40.el5_9.1RHSA-2013:1824
Red Hatrhel_eus:5.9php53, php53-gd, php53-cli and 19 more0:5.3.3-13.el5_9.2RHSA-2013:1825
Red Hatrhel_eus:6.2::computenode, rhel_eus:6.2::serverphp, php-gd, php-cli and 24 more0:5.3.3-3.el6_2.11RHSA-2013:1824
Red Hatrhel_eus:6.3::computenode, rhel_eus:6.3::serverphp, php-gd, php-cli and 24 more0:5.3.3-14.el6_3.3RHSA-2013:1824
Red Hatrhel_eus:6.4::computenode, rhel_eus:6.4::serverphp, php-gd, php-cli and 25 more0:5.3.3-23.el6_4.1RHSA-2013:1824
2 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedphp55.6.28-1.1openSUSE-SU-2024:10344-1
openSUSETumbleweedphp77.0.14-1.4openSUSE-SU-2024:10290-1
openSUSETumbleweedphp88.0.11-1.1openSUSE-SU-2024:11169-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Critical.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3 Extended Lifecycle Supportphp-0:4.3.2-57.entFixed 2013-12-12RHSA-2013:1826
Red Hat Enterprise Linux 4 Extended Lifecycle Supportphp-0:4.3.9-3.37.el4.1Fixed 2013-12-12RHSA-2013:1826
Red Hat Enterprise Linux 5php53-0:5.3.3-22.el5_10Fixed 2013-12-11RHSA-2013:1813
Red Hat Enterprise Linux 5php-0:5.1.6-43.el5_10Fixed 2013-12-11RHSA-2013:1814
Red Hat Enterprise Linux 5.3 Long Lifephp-0:5.1.6-23.5.el5_3Fixed 2013-12-11RHSA-2013:1824
Red Hat Enterprise Linux 5.6 EUS - Server Onlyphp-0:5.1.6-27.el5_6.6Fixed 2013-12-11RHSA-2013:1824
Red Hat Enterprise Linux 5.6 EUS - Server Onlyphp53-0:5.3.3-1.el5_6.4Fixed 2013-12-11RHSA-2013:1825
Red Hat Enterprise Linux 5.9 Extended Update Supportphp-0:5.1.6-40.el5_9.1Fixed 2013-12-11RHSA-2013:1824
Red Hat Enterprise Linux 5.9 Extended Update Supportphp53-0:5.3.3-13.el5_9.2Fixed 2013-12-11RHSA-2013:1825
Red Hat Enterprise Linux 6php-0:5.3.3-27.el6_5Fixed 2013-12-11RHSA-2013:1813
Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Onlyphp-0:5.3.3-3.el6_2.11Fixed 2013-12-11RHSA-2013:1824
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Onlyphp-0:5.3.3-14.el6_3.3Fixed 2013-12-11RHSA-2013:1824
Red Hat Enterprise Linux 6.4 Extended Update Supportphp-0:5.3.3-23.el6_4.1Fixed 2013-12-11RHSA-2013:1824
Red Hat Software Collections for RHEL-6php54-php-0:5.4.16-7.el6.1Fixed 2013-12-11RHSA-2013:1815
OpenShift Enterprise 1phpAffected
Red Hat Enterprise Linux 7phpNot affected
Red Hat OpenShift Enterprise 2phpAffected
Red Hat Software Collectionsphp55-phpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-6420.

Public exploits

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON