{"api_version":"1","generated_at":"2026-07-23T08:47:12+00:00","cve":"CVE-2011-1938","urls":{"html":"https://cve.report/CVE-2011-1938","api":"https://cve.report/api/cve/CVE-2011-1938.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-1938","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-1938"},"summary":{"title":"CVE-2011-1938","description":"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.","state":"PUBLISHED","assigner":"redhat","published_at":"2011-05-31 20:55:05","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.php.net/archive/2011.php#id2011-08-18-1","name":"http://www.php.net/archive/2011.php#id2011-08-18-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP: News Archive - 2011","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.exploit-db.com/exploits/17318/","name":"http://www.exploit-db.com/exploits/17318/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"PHP <= 5.3.5 socket_connect() Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/72644","name":"http://osvdb.org/72644","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://svn.php.net/viewvc?view=revision&revision=311369","name":"http://svn.php.net/viewvc?view=revision&revision=311369","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"PHP: Revision 311369","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2012/dsa-2399","name":"http://www.debian.org/security/2012/dsa-2399","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2399-2 php5","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/49241","name":"http://www.securityfocus.com/bid/49241","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://securityreason.com/securityalert/8262","name":"http://securityreason.com/securityalert/8262","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP <= 5.3.5 socket_connect() Buffer Overflow Vulnerability  - SecurityReason.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369","name":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"PHP: Diff of /php/php-src/trunk/ext/sockets/sockets.c","mime":"text/html","httpstatus":"200","archivestatus":"502"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67606","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67606","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://support.apple.com/kb/HT5130","name":"http://support.apple.com/kb/HT5130","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"About the security content of OS X Lion v10.7.3 and Security Update 2012-001","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisories | Mandriva Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2011/05/24/1","name":"http://openwall.com/lists/oss-security/2011/05/24/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - CVE request: PHP socket_connect() - stack buffer overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","name":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"APPLE-SA-2012-02-01-1 OS X Lion v10.7.3 and Security Update 2012-001","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/securityalert/8294","name":"http://securityreason.com/securityalert/8294","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP 5.3.6 Buffer Overflow PoC (ROP) CVE-2011-1938  - SecurityReason.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.php.net/ChangeLog-5.php#5.3.7","name":"http://www.php.net/ChangeLog-5.php#5.3.7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP: PHP 5 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2011/05/24/9","name":"http://openwall.com/lists/oss-security/2011/05/24/9","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - Re: CVE request: PHP socket_connect() - stack buffer\n overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1423.html","name":"http://www.redhat.com/support/errata/RHSA-2011-1423.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"access.redhat.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2","name":"http://marc.info/?l=bugtraq&m=133469208622507&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'[security bulletin] HPSBOV02763 SSRT100826 rev.1 - HP Secure Web Server (SWS) for OpenVMS running PH' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1938","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1938","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2011","cve_id":"1938","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1938","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1938","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1938","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T22:46:00.766Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.php.net/viewvc?view=revision&revision=311369"},{"name":"HPSBOV02763","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://support.apple.com/kb/HT5130"},{"name":"49241","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/49241"},{"name":"MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165"},{"name":"[oss-security] 20110524 Re: CVE request: PHP socket_connect() - stack buffer overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://openwall.com/lists/oss-security/2011/05/24/9"},{"name":"DSA-2399","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2012/dsa-2399"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369"},{"name":"APPLE-SA-2012-02-01-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"],"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html"},{"name":"72644","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/72644"},{"name":"SSRT100826","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2"},{"name":"8294","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/8294"},{"name":"17318","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"http://www.exploit-db.com/exploits/17318/"},{"name":"RHSA-2011:1423","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2011-1423.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/ChangeLog-5.php#5.3.7"},{"name":"8262","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/8262"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/archive/2011.php#id2011-08-18-1"},{"name":"[oss-security] 20110523 CVE request: PHP socket_connect() - stack buffer overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://openwall.com/lists/oss-security/2011/05/24/1"},{"name":"php-socketconnect-bo(67606)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67606"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2011-05-23T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-16T14:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://svn.php.net/viewvc?view=revision&revision=311369"},{"name":"HPSBOV02763","tags":["vendor-advisory","x_refsource_HP"],"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2"},{"tags":["x_refsource_CONFIRM"],"url":"http://support.apple.com/kb/HT5130"},{"name":"49241","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/49241"},{"name":"MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165"},{"name":"[oss-security] 20110524 Re: CVE request: PHP socket_connect() - stack buffer overflow","tags":["mailing-list","x_refsource_MLIST"],"url":"http://openwall.com/lists/oss-security/2011/05/24/9"},{"name":"DSA-2399","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2012/dsa-2399"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369"},{"name":"APPLE-SA-2012-02-01-1","tags":["vendor-advisory","x_refsource_APPLE"],"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html"},{"name":"72644","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/72644"},{"name":"SSRT100826","tags":["vendor-advisory","x_refsource_HP"],"url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2"},{"name":"8294","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/8294"},{"name":"17318","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"http://www.exploit-db.com/exploits/17318/"},{"name":"RHSA-2011:1423","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2011-1423.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/ChangeLog-5.php#5.3.7"},{"name":"8262","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/8262"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/archive/2011.php#id2011-08-18-1"},{"name":"[oss-security] 20110523 CVE request: PHP socket_connect() - stack buffer overflow","tags":["mailing-list","x_refsource_MLIST"],"url":"http://openwall.com/lists/oss-security/2011/05/24/1"},{"name":"php-socketconnect-bo(67606)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67606"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2011-1938","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://svn.php.net/viewvc?view=revision&revision=311369","refsource":"CONFIRM","url":"http://svn.php.net/viewvc?view=revision&revision=311369"},{"name":"HPSBOV02763","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2"},{"name":"http://support.apple.com/kb/HT5130","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT5130"},{"name":"49241","refsource":"BID","url":"http://www.securityfocus.com/bid/49241"},{"name":"MDVSA-2011:165","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165"},{"name":"[oss-security] 20110524 Re: CVE request: PHP socket_connect() - stack buffer overflow","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2011/05/24/9"},{"name":"DSA-2399","refsource":"DEBIAN","url":"http://www.debian.org/security/2012/dsa-2399"},{"name":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369","refsource":"CONFIRM","url":"http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369"},{"name":"APPLE-SA-2012-02-01-1","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html"},{"name":"72644","refsource":"OSVDB","url":"http://osvdb.org/72644"},{"name":"SSRT100826","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=133469208622507&w=2"},{"name":"8294","refsource":"SREASON","url":"http://securityreason.com/securityalert/8294"},{"name":"17318","refsource":"EXPLOIT-DB","url":"http://www.exploit-db.com/exploits/17318/"},{"name":"RHSA-2011:1423","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2011-1423.html"},{"name":"http://www.php.net/ChangeLog-5.php#5.3.7","refsource":"CONFIRM","url":"http://www.php.net/ChangeLog-5.php#5.3.7"},{"name":"8262","refsource":"SREASON","url":"http://securityreason.com/securityalert/8262"},{"name":"http://www.php.net/archive/2011.php#id2011-08-18-1","refsource":"CONFIRM","url":"http://www.php.net/archive/2011.php#id2011-08-18-1"},{"name":"[oss-security] 20110523 CVE request: PHP socket_connect() - stack buffer overflow","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2011/05/24/1"},{"name":"php-socketconnect-bo(67606)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/67606"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2011-1938","datePublished":"2011-05-31T20:00:00.000Z","dateReserved":"2011-05-09T00:00:00.000Z","dateUpdated":"2024-08-06T22:46:00.766Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2011-05-31 20:55:05","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*","matchCriteriaId":"B0F40E4A-E125-4099-A8B3-D42614AA9312"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:*","matchCriteriaId":"4933D9DD-A630-4A3D-9D13-9E182F5F6F8C"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:*","matchCriteriaId":"A9E6D530-91FC-42F4-A427-6601238E0187"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:*","matchCriteriaId":"9EC938DB-E066-407F-BDF8-61A1C41136F7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2011","CveId":"1938","Ordinal":"1","Title":"CVE-2011-1938","CVE":"CVE-2011-1938","Year":"2011"},"notes":[{"CveYear":"2011","CveId":"1938","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2011-1938"},{"CveYear":"2011","CveId":"1938","Ordinal":"2","NoteData":"2011-05-31","Type":"Other","Title":"Published"},{"CveYear":"2011","CveId":"1938","Ordinal":"3","NoteData":"2017-08-16","Type":"Other","Title":"Modified"}]}}}