php: hostname check bypassing vulnerability in SSL client
Published Aug 18, 2013
4.3
MEDIUMCVSS 2.0
EPSS 3.59%
Description
The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Affected products
No data.
Configuration 1
- 10.04
- 12.04
- 12.10
- 13.04
Configuration 2
- ≤ 5.4.17
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
- 5.2.14
- 5.2.15
- 5.2.16
- 5.2.17
- 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
- 5.3.27
- 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.16
- 5.5.0
- 5.5.1
Configuration 3
- 5
No data.
Red Hat Enterprise Linux 5
php53-0:5.3.3-21.el5
Fixed · RHSA-2013:1307
Red Hat Enterprise Linux 6
php-0:5.3.3-26.el6
Fixed · RHSA-2013:1615
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Software Collections
php54-php
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-21.el5 | Fixed | RHSA-2013:1307 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-26.el6 | Fixed | RHSA-2013:1615 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Software Collections | php54-php | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the version of php as shipped with Red Hat Enterprise Linux 5 or the version of php54 as shipped with Red Hat Software Collections 1.
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:M/Au:N/C:N/I:P/A:N
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 (36 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.59% (0.03588) | 89.05th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.59% (0.03588) | 87.89th | v5 (v2026.06.15) |
| Mar 4, 2026 | 9.89% (0.09892) | 92.87th | v4 (v2025.03.14) |
| Mar 1, 2026 | 6.96% (0.06963) | 91.32th | v4 (v2025.03.14) |
| Feb 4, 2026 | 9.89% (0.09892) | 92.81th | v4 (v2025.03.14) |
| Feb 1, 2026 | 6.96% (0.06963) | 91.26th | v4 (v2025.03.14) |
| Jan 4, 2026 | 9.89% (0.09892) | 92.75th | v4 (v2025.03.14) |
| Jan 1, 2026 | 6.96% (0.06963) | 91.20th | v4 (v2025.03.14) |
| Dec 28, 2025 | 9.89% (0.09892) | 92.75th | v4 (v2025.03.14) |
| Dec 27, 2025 | 4.99% (0.04993) | 89.40th | v4 (v2025.03.14) |
| Dec 4, 2025 | 9.89% (0.09892) | 92.72th | v4 (v2025.03.14) |
| Dec 1, 2025 | 6.96% (0.06963) | 91.12th | v4 (v2025.03.14) |
| Nov 4, 2025 | 9.89% (0.09892) | 92.67th | v4 (v2025.03.14) |
| Nov 1, 2025 | 6.96% (0.06963) | 91.05th | v4 (v2025.03.14) |
| Oct 28, 2025 | 9.89% (0.09892) | 92.66th | v4 (v2025.03.14) |
| Oct 27, 2025 | 4.99% (0.04993) | 89.23th | v4 (v2025.03.14) |
| Oct 4, 2025 | 9.89% (0.09892) | 92.71th | v4 (v2025.03.14) |
| Oct 1, 2025 | 6.96% (0.06963) | 91.11th | v4 (v2025.03.14) |
| Sep 4, 2025 | 4.99% (0.04993) | 89.30th | v4 (v2025.03.14) |
| Sep 1, 2025 | 2.31% (0.02307) | 84.23th | v4 (v2025.03.14) |
| Aug 4, 2025 | 4.99% (0.04993) | 89.30th | v4 (v2025.03.14) |
| Aug 1, 2025 | 2.31% (0.02307) | 84.20th | v4 (v2025.03.14) |
| Jul 30, 2025 | 4.99% (0.04993) | 89.28th | v4 (v2025.03.14) |
| Jul 4, 2025 | 9.89% (0.09892) | 92.65th | v4 (v2025.03.14) |
| Jul 1, 2025 | 6.96% (0.06963) | 91.02th | v4 (v2025.03.14) |
| Jun 4, 2025 | 9.89% (0.09892) | 92.58th | v4 (v2025.03.14) |
| Mar 30, 2025 | 7.29% (0.07290) | 90.81th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.93% (0.14932) | 90.94th | v4 (v2025.03.14) |
| Mar 17, 2025 | 8.11% (0.08108) | 91.53th | v4 (v2025.03.14) |
| Dec 17, 2024 | 1.18% (0.01178) | 84.76th | v3 (v2023.03.01) |
| Mar 5, 2024 | 2.92% (0.02915) | 90.51th | v3 (v2023.03.01) |
| Mar 30, 2023 | 4.07% (0.04072) | 90.79th | v3 (v2023.03.01) |
| Mar 7, 2023 | 4.60% (0.04604) | 91.27th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (20)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=2874696a5a8d46639d261571f915c493cd875897 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://marc.info/?l=bugtraq&m=141390017113542&w=2 vendor-advisoryx_refsource_HP
- http://rhn.redhat.com/errata/RHSA-2013-1307.html vendor-advisoryx_refsource_REDHATVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1615.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/54478 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/54657 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/55078 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- 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-2742 vendor-advisoryx_refsource_DEBIAN
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/61776 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1028924 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-1937-1 vendor-advisoryx_refsource_UBUNTUVendor Advisory
- https://access.redhat.com/security/cve/CVE-2013-4248 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=997097 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-4248
- https://www.cve.org/CVERecord?id=CVE-2013-4248
Change history (0)
No recorded changes yet.