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.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.231 · newest: 0.231 · change: 0.000
Affected products
- PHP — versions 5.3.3, 5.3.4, 5.3.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- svn.php.net/viewvc (Patch)
- marc.info/ (vendor-advisory)
- support.apple.com/kb/HT5130
- www.securityfocus.com/bid/49241 (vdb-entry)
- www.mandriva.com/security/advisories (vendor-advisory)
- openwall.com/lists/oss-security/2011/05/24/9 (mailing-list, Patch)
- www.debian.org/security/2012/dsa-2399 (vendor-advisory)
- svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c (Patch)
- lists.apple.com/archives/security-announce/2012/Feb/msg00000.html (vendor-advisory)
- osvdb.org/72644 (vdb-entry)
Frequently asked questions
- What is CVE-2011-1938?
- CVE-2011-1938 is a vulnerability in PHP, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2011-05-31.
- Is CVE-2011-1938 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.