Red Hat Customer Portal

Skip to main content


Public Date:
709067: CVE-2011-1938 php: stack-based buffer overflow in socket_connect()

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2011-1938 from the MITRE CVE dictionary dictionary and NIST NVD.


Not vulnerable. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 4 and 5. It has been addressed in Red Hat Enterprise Linux 5 (php53) and 6 (php).

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 2.6
Base Metrics AV:N/AC:H/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity High
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 6 (php) RHSA-2011:1423 2011-11-02
Red Hat Enterprise Linux 5 (php53) RHSA-2011:1423 2011-11-02

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 5 php Not affected
Red Hat Enterprise Linux 4 php Not affected

Last Modified