CVE-2011-1938
Status: ModifiedHigh (7.5)—Exploit
Severity7.5High · CVSS 2.0
Exploitation probability23 %higher than 98% of CVEs
Active exploitationNonot in the CISA catalog
Public exploitAvailablePublished on Exploit-DB
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.
CVSS
- Base score
- 7.5
- Version
- 2.0
- Vector
- AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days
- 23 %
- Percentile among all scored CVEs
- 98
- Score date
- 10/21/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Public exploits
Exploit code or detection templates are publicly available. This is not the same as confirmed active exploitation (KEV), but it raises the risk: patch with priority.
- Published on Exploit-DB · PHP 5.3.6 - Local Buffer Overflow (ROP) (7/4/2011)
- Published on Exploit-DB · PHP 5.3.5 - 'socket_connect()' Local Buffer Overflow (5/25/2011)
Affected technologies (1)
CWEs
- CWE-119
References
Show 36 references
- 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
- http://openwall.com/lists/oss-security/2011/05/24/9
- 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
- http://svn.php.net/viewvc?view=revision&revision=311369
- http://www.debian.org/security/2012/dsa-2399
- http://www.exploit-db.com/exploits/17318/
- 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
- 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
- http://openwall.com/lists/oss-security/2011/05/24/9
- 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
- http://svn.php.net/viewvc?view=revision&revision=311369
- http://www.debian.org/security/2012/dsa-2399
- http://www.exploit-db.com/exploits/17318/
- 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
Raw JSON (NVD)
Show
{
"id": "CVE-2011-1938",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2011-05-31T20:55:05.220",
"references": [
{
"url": "http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html",
"source": "secalert@redhat.com"
},
{
"url": "http://marc.info/?l=bugtraq&m=133469208622507&w=2",
"source": "secalert@redhat.com"
},
{
"url": "http://openwall.com/lists/oss-security/2011/05/24/1",
"tags": [
"Patch"
],
"source": "secalert@redhat.com"
},
{
"url": "http://openwall.com/lists/oss-security/2011/05/24/9",
"tags": [
"Patch"
],
"source": "secalert@redhat.com"
},
{
"url": "http://osvdb.org/72644",
"source": "secalert@redhat.com"
},
{
"url": "http://securityreason.com/securityalert/8262",
"source": "secalert@redhat.com"
},
{
"url": "http://securityreason.com/securityalert/8294",
"source": "secalert@redhat.com"
},
{
"url": "http://support.apple.com/kb/HT5130",
"source": "secalert@redhat.com"
},
{
"url": "http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369",
"tags": [
"Patch"
],
"source": "secalert@redhat.com"
},
{
"url": "http://svn.php.net/viewvc?view=revision&revision=311369",
"tags": [
"Patch"
],
"source": "secalert@redhat.com"
},
{
"url": "http://www.debian.org/security/2012/dsa-2399",
"source": "secalert@redhat.com"
},
{
"url": "http://www.exploit-db.com/exploits/17318/",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:165",
"source": "secalert@redhat.com"
},
{
"url": "http://www.php.net/ChangeLog-5.php#5.3.7",
"source": "secalert@redhat.com"
},
{
"url": "http://www.php.net/archive/2011.php#id2011-08-18-1",
"source": "secalert@redhat.com"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2011-1423.html",
"source": "secalert@redhat.com"
},
{
"url": "http://www.securityfocus.com/bid/49241",
"source": "secalert@redhat.com"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/67606",
"source": "secalert@redhat.com"
},
{
"url": "http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://marc.info/?l=bugtraq&m=133469208622507&w=2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://openwall.com/lists/oss-security/2011/05/24/1",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://openwall.com/lists/oss-security/2011/05/24/9",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://osvdb.org/72644",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://securityreason.com/securityalert/8262",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://securityreason.com/securityalert/8294",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://support.apple.com/kb/HT5130",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://svn.php.net/viewvc?view=revision&revision=311369",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2012/dsa-2399",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.exploit-db.com/exploits/17318/",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:165",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.php.net/ChangeLog-5.php#5.3.7",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.php.net/archive/2011.php#id2011-08-18-1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2011-1423.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/49241",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/67606",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-119"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Desbordamiento de búfer basado en pila en la función socket_connect en ext/sockets/sockets.c en PHP v5.3.3 a v5.3.6 podría permitir a atacantes dependientes de contexto ejecutar código de su elección a través de una ruta larga para un socket UNIX."
}
],
"lastModified": "2026-06-16T23:30:25.823",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B0F40E4A-E125-4099-A8B3-D42614AA9312"
},
{
"criteria": "cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4933D9DD-A630-4A3D-9D13-9E182F5F6F8C"
},
{
"criteria": "cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A9E6D530-91FC-42F4-A427-6601238E0187"
},
{
"criteria": "cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9EC938DB-E066-407F-BDF8-61A1C41136F7"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}