CVE-2011-1938 in the critical feed json
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-dependen…
published 2011-05-31 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-1936
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 23.1%
- EPSS 23.1% chance of exploitation in 30 days, percentile 97%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- php RHEL 6 5.3.3-3.el6_1.3
- php53 RHEL 5 5.3.3-1.el5_7.3
- php-gd RHEL 6 5.3.3-3.el6_1.3
- php-cli RHEL 6 5.3.3-3.el6_1.3
- php-dba RHEL 6 5.3.3-3.el6_1.3
- php-pdo RHEL 6 5.3.3-3.el6_1.3
- php-xml RHEL 6 5.3.3-3.el6_1.3
- php-zts RHEL 6 5.3.3-3.el6_1.3
red hat advisories RHSA-2011:1423
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-1938 updated cvss 2.6
php: stack-based buffer overflow in socket_connect()
-
Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-1.el5_7.3, php53-gd 5.3.3-1.el5_7.3, php53-cli 5.3.3-1.el5_7.3, php53-dba 5.3.3-1.el5_7.3, php53-pdo 5.3.3-1.el5_7.3, php53-xml 5.3.3-1.el5_7.3, +14 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-3.el6_1.3, php-gd 5.3.3-3.el6_1.3, php-cli 5.3.3-3.el6_1.3, php-pdo 5.3.3-3.el6_1.3, php-xml 5.3.3-3.el6_1.3, php-ldap 5.3.3-3.el6_1.3, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-3.el6_1.3, php-dba 5.3.3-3.el6_1.3, php-zts 5.3.3-3.el6_1.3, php-imap 5.3.3-3.el6_1.3, php-intl 5.3.3-3.el6_1.3, php-snmp 5.3.3-3.el6_1.3, +8 more Red Hat RHEL Desktop Workstation (v. 5 client) php53 5.3.3-1.el5_7.3, php53-gd 5.3.3-1.el5_7.3, php53-cli 5.3.3-1.el5_7.3, php53-dba 5.3.3-1.el5_7.3, php53-pdo 5.3.3-1.el5_7.3, php53-xml 5.3.3-1.el5_7.3, +14 morefixed: vendor fix RHSA-2011:1423
-
Red Hat Enterprise Linux 4 php Red Hat Enterprise Linux 5 phpnot 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-17318)
- Published
Exploit prediction
23.13% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
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
-
svn.php.net
/viewvc?view=revision&revision=311369
patch
-
openwall.com
/lists/oss-security/2011/05/24/9
mailing-list, patch
-
svn.php.net
/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369
patch
-
openwall.com
/lists/oss-security/2011/05/24/1
mailing-list, patch
-
exploit-db.com
/exploits/17318/
exploit
-
marc.info
/?l=bugtraq&m=133469208622507&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:165
vendor-advisory
-
debian.org
/security/2012/dsa-2399
vendor-advisory
-
lists.apple.com
/archives/security-announce/2012/Feb/msg00000.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-1423.html
vendor-advisory
- support.apple.com /kb/HT5130
-
securityfocus.com
/bid/49241
vdb-entry
-
osvdb.org
/72644
vdb-entry
-
securityreason.com
/securityalert/8294
third-party-advisory
- php.net /ChangeLog-5.php#5.3.7
-
securityreason.com
/securityalert/8262
third-party-advisory
- php.net /archive/2011.php#id2011-08-18-1
-
exchange.xforce.ibmcloud.com
/vulnerabilities/67606
vdb-entry
Sources
- CVE List CVE-2011-1938
- NVD CVE-2011-1938
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.