CVE-2011-1938

Exp

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.

Published: 2011-05-31 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2011-1938 is rated High Exploit Risk (81.6/100): CVSS High severity, with high exploitation likelihood (EPSS 36.53%, 97th percentile). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +2.54% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2011-1938

EDB-ID Source Kind Published Link
17486 exploit_db edb 2011-07-04 Exploit-DB ↗
17318 exploit_db edb 2011-05-25 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2011-1938

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-24 33.99% 36.53% +2.54%
2 2026-02-07 37.26% 33.99% -3.27%
3 2025-12-28 37.26%

Full EPSS history (20 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2011-1938

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2011-1938

OS Trackers for CVE-2011-1938

vendor priority summary link
gentoo high CVE-2011-1938: 1 GLSA(s) (201110-06), 1 atom(s) (dev-lang/php); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2011-1938
redhat low https://access.redhat.com/security/cve/CVE-2011-1938
ubuntu low CVE-2011-1938 low priority: Ubuntu including 1 source packages (php5), 6 status rows across 6 suites (hardy, lucid, maverick, natty, oneiric, upstream): released 3, not-affected 2, needs-triage 1. https://ubuntu.com/security/CVE-2011-1938

Affected software / configurations for CVE-2011-1938

Vendor Product Version Raw CPE
php php 5.3.3 cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*
php php 5.3.4 cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:*
php php 5.3.5 cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:*
php php 5.3.6 cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:*

References for CVE-2011-1938

URL Tags
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 Patch
http://openwall.com/lists/oss-security/2011/05/24/9 Patch
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 Patch
http://svn.php.net/viewvc?view=revision&revision=311369 Patch
http://www.debian.org/security/2012/dsa-2399
http://www.exploit-db.com/exploits/17318/ Exploit
http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
http://www.php.net/ChangeLog-5.php#5.3.7
http://www.php.net/archive/2011.php#id2011-08-18-1
http://www.redhat.com/support/errata/RHSA-2011-1423.html
http://www.securityfocus.com/bid/49241
https://exchange.xforce.ibmcloud.com/vulnerabilities/67606
cvelogic Threat Intelligence