php: memory corruption in openssl_x509_parse()
Published Dec 17, 2013
7.5
HIGHCVSS 2.0
EPSS 35.63%
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.
Affected products
No data.
Configuration 1
- 5.4.0
- 5.4.1
- 5.4.2
- 5.4.3
- 5.4.4
- 5.4.5
- 5.4.6
- 5.4.7
- 5.4.8
- 5.4.9
- 5.4.10
- 5.4.11
- 5.4.12
- 5.4.12
- 5.4.12
- 5.4.13
- 5.4.13
- 5.4.14
- 5.4.14
- 5.4.15
- 5.4.15
- 5.4.16
- 5.4.16
- 5.4.17
- 5.4.18
- 5.4.19
- 5.4.20
- 5.4.21
- 5.4.22
Configuration 2
Configuration 4
- ≤ 5.3.27
- 5.3.0
- 5.3.1
- 5.3.2
- 5.3.3
- 5.3.4
- 5.3.5
- 5.3.6
- 5.3.7
- 5.3.8
- 5.3.9
- 5.3.10
- 5.3.11
- 5.3.12
- 5.3.13
- 5.3.14
- 5.3.15
- 5.3.16
- 5.3.17
- 5.3.18
- 5.3.19
- 5.3.20
- 5.3.21
- 5.3.22
- 5.3.23
- 5.3.24
- 5.3.25
- 5.3.26
Configuration 5
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
No data.
Red Hat Enterprise Linux 3 Extended Lifecycle Support
php-0:4.3.2-57.ent
Fixed · RHSA-2013:1826
Red Hat Enterprise Linux 4 Extended Lifecycle Support
php-0:4.3.9-3.37.el4.1
Fixed · RHSA-2013:1826
Red Hat Enterprise Linux 5
php-0:5.1.6-43.el5_10
Fixed · RHSA-2013:1814
Red Hat Enterprise Linux 5
php53-0:5.3.3-22.el5_10
Fixed · RHSA-2013:1813
Red Hat Enterprise Linux 5.3 Long Life
php-0:5.1.6-23.5.el5_3
Fixed · RHSA-2013:1824
Red Hat Enterprise Linux 5.6 EUS - Server Only
php-0:5.1.6-27.el5_6.6
Fixed · RHSA-2013:1824
Red Hat Enterprise Linux 5.6 EUS - Server Only
php53-0:5.3.3-1.el5_6.4
Fixed · RHSA-2013:1825
Red Hat Enterprise Linux 5.9 Extended Update Support
php-0:5.1.6-40.el5_9.1
Fixed · RHSA-2013:1824
Red Hat Enterprise Linux 5.9 Extended Update Support
php53-0:5.3.3-13.el5_9.2
Fixed · RHSA-2013:1825
Red Hat Enterprise Linux 6
php-0:5.3.3-27.el6_5
Fixed · RHSA-2013:1813
Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only
php-0:5.3.3-3.el6_2.11
Fixed · RHSA-2013:1824
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only
php-0:5.3.3-14.el6_3.3
Fixed · RHSA-2013:1824
Red Hat Enterprise Linux 6.4 Extended Update Support
php-0:5.3.3-23.el6_4.1
Fixed · RHSA-2013:1824
Red Hat Software Collections for RHEL-6
php54-php-0:5.4.16-7.el6.1
Fixed · RHSA-2013:1815
OpenShift Enterprise 1
php
Affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat OpenShift Enterprise 2
php
Affected
Red Hat Software Collections
php55-php
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 Extended Lifecycle Support | php-0:4.3.2-57.ent | Fixed | RHSA-2013:1826 |
| Red Hat Enterprise Linux 4 Extended Lifecycle Support | php-0:4.3.9-3.37.el4.1 | Fixed | RHSA-2013:1826 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-43.el5_10 | Fixed | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-22.el5_10 | Fixed | RHSA-2013:1813 |
| Red Hat Enterprise Linux 5.3 Long Life | php-0:5.1.6-23.5.el5_3 | Fixed | RHSA-2013:1824 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | php-0:5.1.6-27.el5_6.6 | Fixed | RHSA-2013:1824 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | php53-0:5.3.3-1.el5_6.4 | Fixed | RHSA-2013:1825 |
| Red Hat Enterprise Linux 5.9 Extended Update Support | php-0:5.1.6-40.el5_9.1 | Fixed | RHSA-2013:1824 |
| Red Hat Enterprise Linux 5.9 Extended Update Support | php53-0:5.3.3-13.el5_9.2 | Fixed | RHSA-2013:1825 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-27.el6_5 | Fixed | RHSA-2013:1813 |
| Red Hat Enterprise Linux 6.2 EUS - Server and Compute Node Only | php-0:5.3.3-3.el6_2.11 | Fixed | RHSA-2013:1824 |
| Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node Only | php-0:5.3.3-14.el6_3.3 | Fixed | RHSA-2013:1824 |
| Red Hat Enterprise Linux 6.4 Extended Update Support | php-0:5.3.3-23.el6_4.1 | Fixed | RHSA-2013:1824 |
| Red Hat Software Collections for RHEL-6 | php54-php-0:5.4.16-7.el6.1 | Fixed | RHSA-2013:1815 |
| OpenShift Enterprise 1 | php | Affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat OpenShift Enterprise 2 | php | Affected | n/a |
| Red Hat Software Collections | php55-php | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (43 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 35.63% (0.35635) | 98.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 34.83% (0.34826) | 98.22th | v5 (v2026.06.15) |
| Mar 4, 2026 | 40.22% (0.40224) | 97.26th | v4 (v2025.03.14) |
| Mar 1, 2026 | 34.92% (0.34923) | 96.96th | v4 (v2025.03.14) |
| Feb 18, 2026 | 40.22% (0.40224) | 97.24th | v4 (v2025.03.14) |
| Feb 4, 2026 | 47.20% (0.47198) | 97.59th | v4 (v2025.03.14) |
| Feb 1, 2026 | 41.76% (0.41762) | 97.34th | v4 (v2025.03.14) |
| Jan 4, 2026 | 47.20% (0.47198) | 97.57th | v4 (v2025.03.14) |
| Jan 1, 2026 | 41.76% (0.41762) | 97.31th | v4 (v2025.03.14) |
| Dec 28, 2025 | 47.20% (0.47198) | 97.57th | v4 (v2025.03.14) |
| Dec 27, 2025 | 28.30% (0.28302) | 96.36th | v4 (v2025.03.14) |
| Dec 4, 2025 | 47.20% (0.47198) | 97.54th | v4 (v2025.03.14) |
| Dec 1, 2025 | 41.76% (0.41762) | 97.28th | v4 (v2025.03.14) |
| Nov 4, 2025 | 47.20% (0.47198) | 97.54th | v4 (v2025.03.14) |
| Nov 1, 2025 | 41.76% (0.41762) | 97.28th | v4 (v2025.03.14) |
| Oct 28, 2025 | 47.20% (0.47198) | 97.53th | v4 (v2025.03.14) |
| Oct 27, 2025 | 28.30% (0.28302) | 96.29th | v4 (v2025.03.14) |
| Oct 4, 2025 | 47.20% (0.47198) | 97.60th | v4 (v2025.03.14) |
| Oct 1, 2025 | 41.76% (0.41762) | 97.34th | v4 (v2025.03.14) |
| Sep 4, 2025 | 28.30% (0.28302) | 96.35th | v4 (v2025.03.14) |
| Sep 1, 2025 | 23.79% (0.23786) | 95.83th | v4 (v2025.03.14) |
| Aug 4, 2025 | 28.30% (0.28302) | 96.32th | v4 (v2025.03.14) |
| Aug 2, 2025 | 23.79% (0.23786) | 95.82th | v4 (v2025.03.14) |
| Aug 1, 2025 | 25.07% (0.25073) | 95.99th | v4 (v2025.03.14) |
| Jul 30, 2025 | 29.11% (0.29107) | 96.39th | v4 (v2025.03.14) |
| Jul 4, 2025 | 48.12% (0.48115) | 97.59th | v4 (v2025.03.14) |
| Jul 1, 2025 | 43.37% (0.43367) | 97.37th | v4 (v2025.03.14) |
| Jun 4, 2025 | 48.12% (0.48115) | 97.57th | v4 (v2025.03.14) |
| Jun 1, 2025 | 43.37% (0.43367) | 97.35th | v4 (v2025.03.14) |
| May 4, 2025 | 48.29% (0.48287) | 97.57th | v4 (v2025.03.14) |
| May 1, 2025 | 43.54% (0.43540) | 97.34th | v4 (v2025.03.14) |
| Mar 30, 2025 | 48.29% (0.48287) | 97.50th | v4 (v2025.03.14) |
| Mar 29, 2025 | 39.98% (0.39981) | 95.97th | v4 (v2025.03.14) |
| Mar 17, 2025 | 48.29% (0.48287) | 97.46th | v4 (v2025.03.14) |
| Dec 12, 2024 | 94.98% (0.94979) | 99.39th | v3 (v2023.03.01) |
| Dec 15, 2023 | 94.98% (0.94979) | 99.11th | v3 (v2023.03.01) |
| Nov 8, 2023 | 94.32% (0.94318) | 98.98th | v3 (v2023.03.01) |
| Sep 12, 2023 | 94.99% (0.94986) | 99.01th | v3 (v2023.03.01) |
| Jun 12, 2023 | 95.33% (0.95332) | 99.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 95.32% (0.95323) | 98.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 44.54% (0.44540) | 98.36th | v2 (v2022.01.01) |
| Mar 8, 2022 | 44.54% (0.44540) | 97.75th | v2 (v2022.01.01) |
| Feb 4, 2022 | 39.16% (0.39156) | 97.32th | v2 (v2022.01.01) |
References (22)
- http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21 x_refsource_CONFIRM
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415 x_refsource_CONFIRM
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2013-1813.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1815.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1824.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1825.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1826.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/59652 third-party-advisoryx_refsource_SECUNIA
- http://support.apple.com/kb/HT6150 x_refsource_CONFIRM
- http://www.debian.org/security/2013/dsa-2816 vendor-advisoryx_refsource_DEBIAN
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/64225 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1029472 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-2055-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-6420 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1036830 x_refsource_CONFIRMPatchIssue Tracking
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322 vendor-advisoryx_refsource_HP
- https://nvd.nist.gov/vuln/detail/CVE-2013-6420
- https://www.cve.org/CVERecord?id=CVE-2013-6420
- https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html x_refsource_MISCExploit
Change history (0)
No recorded changes yet.