CVE-2013-6420 in the critical feed json
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 proper…
published 12y ago modified 4mo ago also EUVD-2013-6233
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 35.6%
- EPSS 35.6% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- php RHEL 5 5.1.6-43.el5_10
- php-gd RHEL 5 5.1.6-43.el5_10
- php-cli RHEL 5 5.1.6-43.el5_10
- php-dba RHEL 5 5.1.6-43.el5_10
- php-pdo RHEL 5 5.1.6-43.el5_10
- php-xml RHEL 5 5.1.6-43.el5_10
- php-imap RHEL 5 5.1.6-43.el5_10
- php-ldap RHEL 5 5.1.6-43.el5_10
red hat advisories RHSA-2013:1814RHSA-2013:1815RHSA-2013:1813RHSA-2013:1826RHSA-2013:1825RHSA-2013:1824
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
Is CVE-2013-6420 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-6420 updated cvss 7.5
php: memory corruption in openssl_x509_parse()
-
Red Hat OpenShift Enterprise 1 php Red Hat OpenShift Enterprise 2 php Red Hat Software Collections php55-php, php55-php-gd, php55-php-cli, php55-php-dba, php55-php-fpm, php55-php-gmp, +20 moreaffected: no fix available
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-43.el5_10, php53 5.3.3-22.el5_10, php-gd 5.1.6-43.el5_10, php-cli 5.1.6-43.el5_10, php-dba 5.1.6-43.el5_10, php-pdo 5.1.6-43.el5_10, +32 morefixed: vendor fix RHSA-2013:1814
-
Red Hat Enterprise Linux AS (v. 3 ELS) php 4.3.2-57.ent, php-imap 4.3.2-57.ent, php-ldap 4.3.2-57.ent, php-odbc 4.3.2-57.ent, php-mysql 4.3.2-57.ent, php-pgsql 4.3.2-57.ent Red Hat Enterprise Linux AS (v. 4 ELS) php 4.3.9-3.37.el4.1, php-gd 4.3.9-3.37.el4.1, php-imap 4.3.9-3.37.el4.1, php-ldap 4.3.9-3.37.el4.1, php-odbc 4.3.9-3.37.el4.1, php-pear 4.3.9-3.37.el4.1, +7 morefixed: vendor fix RHSA-2013:1826
-
Red Hat Enterprise Linux Compute Node EUS (v. 6.2) php 5.3.3-3.el6_2.11, php-cli 5.3.3-3.el6_2.11, php-common 5.3.3-3.el6_2.11 Red Hat Enterprise Linux Compute Node EUS (v. 6.3) php 5.3.3-14.el6_3.3, php-cli 5.3.3-14.el6_3.3, php-common 5.3.3-14.el6_3.3 Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.2) php 5.3.3-3.el6_2.11, php-gd 5.3.3-3.el6_2.11, php-dba 5.3.3-3.el6_2.11, php-pdo 5.3.3-3.el6_2.11, php-xml 5.3.3-3.el6_2.11, php-zts 5.3.3-3.el6_2.11, +17 more Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.3) php 5.3.3-14.el6_3.3, php-gd 5.3.3-14.el6_3.3, php-dba 5.3.3-14.el6_3.3, php-pdo 5.3.3-14.el6_3.3, php-xml 5.3.3-14.el6_3.3, php-zts 5.3.3-14.el6_3.3, +17 more Red Hat Enterprise Linux Compute Node Optional EUS (v. 6.4) php 5.3.3-23.el6_4.1, php-gd 5.3.3-23.el6_4.1, php-dba 5.3.3-23.el6_4.1, php-fpm 5.3.3-23.el6_4.1, php-pdo 5.3.3-23.el6_4.1, php-xml 5.3.3-23.el6_4.1, +18 morefixed: vendor fix RHSA-2013:1824
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5, php-gd 5.3.3-27.el6_5, php-cli 5.3.3-27.el6_5, php-dba 5.3.3-27.el6_5, php-fpm 5.3.3-27.el6_5, php-pdo 5.3.3-27.el6_5, +20 morefixed: vendor fix RHSA-2013:1813
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-43.el5_10, php53 5.3.3-22.el5_10, php-gd 5.1.6-43.el5_10, php-cli 5.1.6-43.el5_10, php-dba 5.1.6-43.el5_10, php-pdo 5.1.6-43.el5_10, +32 morefixed: vendor fix RHSA-2013:1814
-
Red Hat Enterprise Linux ES (v. 3 ELS) php 4.3.2-57.ent, php-imap 4.3.2-57.ent, php-ldap 4.3.2-57.ent, php-odbc 4.3.2-57.ent, php-mysql 4.3.2-57.ent, php-pgsql 4.3.2-57.ent Red Hat Enterprise Linux ES (v. 4 ELS) php 4.3.9-3.37.el4.1, php-gd 4.3.9-3.37.el4.1, php-imap 4.3.9-3.37.el4.1, php-ldap 4.3.9-3.37.el4.1, php-odbc 4.3.9-3.37.el4.1, php-pear 4.3.9-3.37.el4.1, +7 morefixed: vendor fix RHSA-2013:1826
-
Red Hat Enterprise Linux EUS (v. 5.6 server) php 5.1.6-27.el5_6.6, php53 5.3.3-1.el5_6.4, php-gd 5.1.6-27.el5_6.6, php-cli 5.1.6-27.el5_6.6, php-dba 5.1.6-27.el5_6.6, php-pdo 5.1.6-27.el5_6.6, +32 more Red Hat Enterprise Linux EUS (v. 5.9 server) php 5.1.6-40.el5_9.1, php53 5.3.3-13.el5_9.2, php-gd 5.1.6-40.el5_9.1, php-cli 5.1.6-40.el5_9.1, php-dba 5.1.6-40.el5_9.1, php-pdo 5.1.6-40.el5_9.1, +32 morefixed: vendor fix RHSA-2013:1824
show 11 moreshow fewer
-
Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-27.el6_5, php-cli 5.3.3-27.el6_5, php-common 5.3.3-27.el6_5fixed: vendor fix RHSA-2013:1813
-
Red Hat Enterprise Linux HPC Node EUS (v. 6.4) php 5.3.3-23.el6_4.1, php-cli 5.3.3-23.el6_4.1, php-common 5.3.3-23.el6_4.1fixed: vendor fix RHSA-2013:1824
-
Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-27.el6_5, php-gd 5.3.3-27.el6_5, php-dba 5.3.3-27.el6_5, php-fpm 5.3.3-27.el6_5, php-pdo 5.3.3-27.el6_5, php-xml 5.3.3-27.el6_5, +18 morefixed: vendor fix RHSA-2013:1813
-
Red Hat Enterprise Linux Long Life (v. 5.3 server) php 5.1.6-23.5.el5_3, php-gd 5.1.6-23.5.el5_3, php-cli 5.1.6-23.5.el5_3, php-dba 5.1.6-23.5.el5_3, php-pdo 5.1.6-23.5.el5_3, php-xml 5.1.6-23.5.el5_3, +12 morefixed: vendor fix RHSA-2013:1824
-
Red Hat Enterprise Linux Server (v. 6) php 5.3.3-27.el6_5, php-gd 5.3.3-27.el6_5, php-cli 5.3.3-27.el6_5, php-pdo 5.3.3-27.el6_5, php-xml 5.3.3-27.el6_5, php-ldap 5.3.3-27.el6_5, +6 morefixed: vendor fix RHSA-2013:1813
-
Red Hat Enterprise Linux Server EUS (v. 6.2) php 5.3.3-3.el6_2.11, php-gd 5.3.3-3.el6_2.11, php-cli 5.3.3-3.el6_2.11, php-pdo 5.3.3-3.el6_2.11, php-xml 5.3.3-3.el6_2.11, php-ldap 5.3.3-3.el6_2.11, +6 more Red Hat Enterprise Linux Server EUS (v. 6.3) php 5.3.3-14.el6_3.3, php-gd 5.3.3-14.el6_3.3, php-cli 5.3.3-14.el6_3.3, php-pdo 5.3.3-14.el6_3.3, php-xml 5.3.3-14.el6_3.3, php-ldap 5.3.3-14.el6_3.3, +6 more Red Hat Enterprise Linux Server EUS (v. 6.4) php 5.3.3-23.el6_4.1, php-gd 5.3.3-23.el6_4.1, php-cli 5.3.3-23.el6_4.1, php-pdo 5.3.3-23.el6_4.1, php-xml 5.3.3-23.el6_4.1, php-ldap 5.3.3-23.el6_4.1, +6 morefixed: vendor fix RHSA-2013:1824
-
Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5, php-dba 5.3.3-27.el6_5, php-fpm 5.3.3-27.el6_5, php-zts 5.3.3-27.el6_5, php-imap 5.3.3-27.el6_5, php-intl 5.3.3-27.el6_5, +9 morefixed: vendor fix RHSA-2013:1813
-
Red Hat Enterprise Linux Server Optional EUS (v. 6.2) php 5.3.3-3.el6_2.11, php-dba 5.3.3-3.el6_2.11, php-zts 5.3.3-3.el6_2.11, php-imap 5.3.3-3.el6_2.11, php-intl 5.3.3-3.el6_2.11, php-snmp 5.3.3-3.el6_2.11, +8 more Red Hat Enterprise Linux Server Optional EUS (v. 6.3) php 5.3.3-14.el6_3.3, php-dba 5.3.3-14.el6_3.3, php-zts 5.3.3-14.el6_3.3, php-imap 5.3.3-14.el6_3.3, php-intl 5.3.3-14.el6_3.3, php-snmp 5.3.3-14.el6_3.3, +8 more Red Hat Enterprise Linux Server Optional EUS (v. 6.4) php 5.3.3-23.el6_4.1, php-dba 5.3.3-23.el6_4.1, php-fpm 5.3.3-23.el6_4.1, php-zts 5.3.3-23.el6_4.1, php-imap 5.3.3-23.el6_4.1, php-intl 5.3.3-23.el6_4.1, +9 morefixed: vendor fix RHSA-2013:1824
-
Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-27.el6_5, php-gd 5.3.3-27.el6_5, php-cli 5.3.3-27.el6_5, php-pdo 5.3.3-27.el6_5, php-xml 5.3.3-27.el6_5, php-ldap 5.3.3-27.el6_5, +6 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5, php-dba 5.3.3-27.el6_5, php-fpm 5.3.3-27.el6_5, php-zts 5.3.3-27.el6_5, php-imap 5.3.3-27.el6_5, php-intl 5.3.3-27.el6_5, +9 morefixed: vendor fix RHSA-2013:1813
-
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php 5.4.16-7.el6.1, php54-php-gd 5.4.16-7.el6.1, php54-php-cli 5.4.16-7.el6.1, php54-php-dba 5.4.16-7.el6.1, php54-php-fpm 5.4.16-7.el6.1, php54-php-pdo 5.4.16-7.el6.1, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php 5.4.16-7.el6.1, php54-php-gd 5.4.16-7.el6.1, php54-php-cli 5.4.16-7.el6.1, php54-php-dba 5.4.16-7.el6.1, php54-php-fpm 5.4.16-7.el6.1, php54-php-pdo 5.4.16-7.el6.1, +18 morefixed: vendor fix RHSA-2013:1815
-
Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-30395)
- Published
Exploit prediction
35.64% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-30395 PHP - 'openssl_x509_parse()' Memory Corruption dos, 2013-12-17
- sektioneins.de https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1036830
patch
-
sektioneins.de
/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html
exploit
-
debian.org
/security/2013/dsa-2816
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1824.html
vendor-advisory
-
h20564.www2.hp.com
/hpsc/doc/public/display?docId=emr_na-c04463322
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-12/msg00126.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1826.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1815.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-12/msg00125.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1813.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1825.html
vendor-advisory
-
ubuntu.com
/usn/USN-2055-1
vendor-advisory
- git.php.net /?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415
- forums.interworx.com /threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
-
secunia.com
/advisories/59652
third-party-advisory
-
securityfocus.com
/bid/64225
vdb-entry
- support.apple.com /kb/HT6150
- php.net /ChangeLog-5.php
-
securitytracker.com
/id/1029472
vdb-entry
Sources
- CVE List CVE-2013-6420
- NVD CVE-2013-6420
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.