php: stack-based buffer overflow in socket_connect()
Published May 31, 2011
7.5
HIGHCVSS 2.0
EPSS 23.13%
Description
Stack-based buffer overflow in the socket_connect function in ext/sockets/sockets.c in PHP 5.3.3 through 5.3.6 might allow context-dependent attackers to execute arbitrary code via a long pathname for a UNIX socket.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
php53-0:5.3.3-1.el5_7.3
Fixed · RHSA-2011:1423
Red Hat Enterprise Linux 6
php-0:5.3.3-3.el6_1.3
Fixed · RHSA-2011:1423
Red Hat Enterprise Linux 4
php
Not affected
Red Hat Enterprise Linux 5
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-1.el5_7.3 | Fixed | RHSA-2011:1423 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-3.el6_1.3 | Fixed | RHSA-2011:1423 |
| Red Hat Enterprise Linux 4 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 4 and 5. It has been addressed in Red Hat Enterprise Linux 5 (php53) and 6 (php).
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 (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 23.13% (0.23129) | 97.70th | v5 (v2026.06.15) |
| Jun 15, 2026 | 22.72% (0.22724) | 97.43th | v5 (v2026.06.15) |
| May 24, 2026 | 36.53% (0.36532) | 97.19th | v4 (v2025.03.14) |
| Feb 7, 2026 | 33.99% (0.33994) | 96.85th | v4 (v2025.03.14) |
| Dec 28, 2025 | 37.26% (0.37264) | 97.02th | v4 (v2025.03.14) |
| Dec 27, 2025 | 33.78% (0.33780) | 96.82th | v4 (v2025.03.14) |
| Dec 8, 2025 | 25.98% (0.25983) | 96.08th | v4 (v2025.03.14) |
| Dec 7, 2025 | 28.32% (0.28316) | 96.31th | v4 (v2025.03.14) |
| Nov 30, 2025 | 45.77% (0.45770) | 97.47th | v4 (v2025.03.14) |
| Oct 28, 2025 | 48.96% (0.48959) | 97.61th | v4 (v2025.03.14) |
| Oct 27, 2025 | 51.86% (0.51858) | 97.77th | v4 (v2025.03.14) |
| Oct 1, 2025 | 48.96% (0.48959) | 97.70th | v4 (v2025.03.14) |
| Sep 11, 2025 | 51.86% (0.51858) | 97.83th | v4 (v2025.03.14) |
| Jul 30, 2025 | 53.39% (0.53387) | 97.86th | v4 (v2025.03.14) |
| Apr 21, 2025 | 50.51% (0.50514) | 97.65th | v4 (v2025.03.14) |
| Apr 17, 2025 | 52.91% (0.52915) | 97.76th | v4 (v2025.03.14) |
| Mar 30, 2025 | 57.23% (0.57225) | 97.96th | v4 (v2025.03.14) |
| Mar 29, 2025 | 52.69% (0.52694) | 97.01th | v4 (v2025.03.14) |
| Mar 17, 2025 | 57.23% (0.57225) | 97.92th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.86% (0.01856) | 88.84th | v3 (v2023.03.01) |
| Jun 19, 2023 | 1.86% (0.01856) | 86.66th | v3 (v2023.03.01) |
| May 8, 2023 | 1.94% (0.01939) | 86.88th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.99% (0.01989) | 86.98th | v3 (v2023.03.01) |
| Mar 6, 2023 | 27.99% (0.27992) | 97.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 27.99% (0.27992) | 95.99th | v2 (v2022.01.01) |
References (22)
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html vendor-advisoryx_refsource_APPLE
- http://marc.info/?l=bugtraq&m=133469208622507&w=2 vendor-advisoryx_refsource_HP
- http://openwall.com/lists/oss-security/2011/05/24/1 mailing-listx_refsource_MLISTPatch
- http://openwall.com/lists/oss-security/2011/05/24/9 mailing-listx_refsource_MLISTPatch
- http://osvdb.org/72644 vdb-entryx_refsource_OSVDB
- http://securityreason.com/securityalert/8262 third-party-advisoryx_refsource_SREASON
- http://securityreason.com/securityalert/8294 third-party-advisoryx_refsource_SREASON
- http://support.apple.com/kb/HT5130 x_refsource_CONFIRM
- http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369 x_refsource_CONFIRMPatch
- http://svn.php.net/viewvc?view=revision&revision=311369 x_refsource_CONFIRMPatch
- http://www.debian.org/security/2012/dsa-2399 vendor-advisoryx_refsource_DEBIAN
- http://www.exploit-db.com/exploits/17318/ exploitx_refsource_EXPLOIT-DB
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165 vendor-advisoryx_refsource_MANDRIVA
- http://www.php.net/ChangeLog-5.php#5.3.7 x_refsource_CONFIRM
- http://www.php.net/archive/2011.php#id2011-08-18-1 x_refsource_CONFIRM
- http://www.redhat.com/support/errata/RHSA-2011-1423.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/49241 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2011-1938 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=709067 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67606 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2011-1938
- https://www.cve.org/CVERecord?id=CVE-2011-1938
Change history (0)
No recorded changes yet.