Vulnerabilities · 2011 · Php
CVE-2011-1938
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- openwall.com/lists/oss-security/2011/05/24/1 · Patch
- openwall.com/lists/oss-security/2011/05/24/9 · Patch
- svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311 · Patch
- svn.php.net/viewvc?view=revision&revision=311369 · Patch
- www.exploit-db.com/exploits/17318/ · Exploit
- lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- marc.info/?l=bugtraq&m=133469208622507&w=2
- osvdb.org/72644
- nvd.nist.gov/vuln/detail/CVE-2011-1938
- cve.org/CVERecord?id=CVE-2011-1938
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.