CVE-2011-1938
HIGH 7.5CVSS 2.0Stack-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.
- Published
- 31 May 2011
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | phpcpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:* |
= 5.3.3 | |
| NVD | php | phpcpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:* |
= 5.3.4 | |
| NVD | php | phpcpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:* |
= 5.3.5 | |
| NVD | php | phpcpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:* |
= 5.3.6 |
References
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://openwall.com/lists/oss-security/2011/05/24/1 · Patch
- http://openwall.com/lists/oss-security/2011/05/24/9 · Patch
- http://osvdb.org/72644
- http://securityreason.com/securityalert/8262
- http://securityreason.com/securityalert/8294
- http://support.apple.com/kb/HT5130
- http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369 · Patch
- http://svn.php.net/viewvc?view=revision&revision=311369 · Patch
- http://www.debian.org/security/2012/dsa-2399
- http://www.exploit-db.com/exploits/17318/ · Exploit
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://www.php.net/archive/2011.php#id2011-08-18-1
- http://www.redhat.com/support/errata/RHSA-2011-1423.html
- http://www.securityfocus.com/bid/49241
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67606
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 31 May 2011)