SecurityContext

CVE-2011-1938: PHP - Buffer Overflow

  • Cve: CVE-2011-1938
  • Name: PHP - Buffer Overflow
  • 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.
  • Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to PHP version 5.3.7 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.23129
  • Epss percentile: 0.97814
  • Assignee: [email protected]
  • Published at: 2011-05-31T20:55:05Z
  • Age in days: 5656
  • Modified at: 2026-06-16T23:30:25Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 18
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-1938
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
http://www.exploit-db.com/exploits/17318/nvd2011-05-31

References

Same in every row:

  • Source: nvd
UrlTags
http://openwall.com/lists/oss-security/2011/05/24/1Patch
http://openwall.com/lists/oss-security/2011/05/24/9Patch
http://svn.php.net/viewvc/php/php-src/trunk/ext/sockets/sockets.c?r1=311369&r2=311368&pathrev=311369Patch
http://svn.php.net/viewvc?view=revision&revision=311369Patch
http://www.exploit-db.com/exploits/17318/Exploit
http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
http://marc.info/?l=bugtraq&m=133469208622507&w=2
http://osvdb.org/72644
http://securityreason.com/securityalert/8262
http://securityreason.com/securityalert/8294

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 5.3.6, = 5.3.5, = 5.3.4, = 5.3.3nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2011-05-31
  • Remote: yes
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports