{"id":"CVE-2011-1938","published":"2011-05-31T20:00:00Z","modified":"2024-08-06T22:46:00Z","title":"Stack-based buffer overflow in the socket_connect function in ext/sockets/sockets.c in PHP 5.3.3 through 5.3.6 might…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.23129,"percentile":0.97813,"provenance":"source"},"cwes":[],"references":[{"url":"http://svn.php.net/viewvc?view=revision&revision=311369","tags":["x_refsource_CONFIRM"]},{"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://support.apple.com/kb/HT5130","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/49241","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://openwall.com/lists/oss-security/2011/05/24/9","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.debian.org/security/2012/dsa-2399","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://osvdb.org/72644","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://securityreason.com/securityalert/8294","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.exploit-db.com/exploits/17318/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1423.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.php.net/ChangeLog-5.php#5.3.7","tags":["x_refsource_CONFIRM"]},{"url":"http://securityreason.com/securityalert/8262","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.php.net/archive/2011.php#id2011-08-18-1","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2011/05/24/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67606","tags":["vdb-entry","x_refsource_XF"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.56},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2011-05-25"},"first":{"date":"2011-05-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/17318"},"provenance":"source"},"summary":{"text":"The flaw is a stack-based buffer overflow in the socket_connect function in ext/sockets/sockets.c, within the sockets extension of PHP 5.3.3 through 5.3.6. An attacker who can supply a long pathname for a UNIX socket to that function may be able to execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:09Z"},"euvd":{"id":"EUVD-2011-1936","exploited":false,"provenance":"source"},"exploits":[{"id":17318,"url":"https://www.exploit-db.com/exploits/17318","title":"PHP 5.3.5 - 'socket_connect()' Local Buffer Overflow","date":"2011-05-25","verified":true,"provenance":"source"},{"id":17486,"url":"https://www.exploit-db.com/exploits/17486","title":"PHP 5.3.6 - Local Buffer Overflow (ROP)","date":"2011-07-04","verified":true,"provenance":"source"}],"exploitRefs":["http://www.exploit-db.com/exploits/17318/"]}