Buffer overflow in PHP
CVE-2011-1938
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.231, 97.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.3.3, 5.3.4, 5.3.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- svn.php.net/viewvc (Patch)
- HPSBOV02763 (vendor-advisory)
- support.apple.com/kb/HT5130
- www.securityfocus.com/bid/49241 (vdb-entry)
- MDVSA-2011:165 (vendor-advisory)
- [oss-security] 20110524 Re: CVE request: PHP socket_connect() - stack buffer overflow (mailing-list, Patch)
- DSA-2399 (vendor-advisory)
- svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c (Patch)
- APPLE-SA-2012-02-01-1 (vendor-advisory)
- osvdb.org/72644 (vdb-entry)