What’s Vulnerable › Vulnerabilities
CVE-2011-1938
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 23.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2011-05-31 · updated 2026-06-16
- Weakness: CWE-119
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
- PHP: 5.3.3, 5.3.4, 5.3.5, 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
- http://openwall.com/lists/oss-security/2011/05/24/9
- 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
- http://svn.php.net/viewvc?view=revision&revision=311369
- http://www.debian.org/security/2012/dsa-2399
- http://www.exploit-db.com/exploits/17318/
Get alerted when CVE-2011-1938 or the next vulnerability affects your stack