PHP 5.3.3/5.3.4/5.3.5/5.3.6 socket_connect memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability, which was classified as critical, was found in PHP 5.3.3/5.3.4/5.3.5/5.3.6 (Programming Language Software). Affected is the function socket_connect. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was presented 05/31/2011 by Marek Kroemeke with PHP (Website). The advisory is available at This vulnerability is traded as CVE-2011-1938 since 05/09/2011. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.

A public exploit has been developed by Marek Kroemeke and been published before and not just after the advisory. The exploit is shared for download at It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 57753 (Debian DSA-2399-2 : php5 - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350740 (Amazon Linux Security Advisory for php: ALAS-2011-007).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at X-Force (67606), Tenable (57753) and Exploit-DB (17318). See 56856, 59364, 58374 and 58373 for similar entries.






CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.9

VulDB Base Score: 7.3
VulDB Temp Score: 6.9
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Marek Kroemeke
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 57753
Nessus Name: Debian DSA-2399-2 : php5 - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 70716
OpenVAS Name: Debian Security Advisory DSA 2399-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
PaloAlto IPS: 🔍


05/09/2011 🔍
05/23/2011 +14 days 🔍
05/25/2011 +2 days 🔍
05/25/2011 +0 days 🔍
05/31/2011 +6 days 🔍
05/31/2011 +0 days 🔍
06/05/2011 +5 days 🔍
08/18/2011 +74 days 🔍
02/01/2012 +167 days 🔍
03/23/2015 +1146 days 🔍
11/08/2021 +2422 days 🔍



Advisory: DSA-2399
Researcher: Marek Kroemeke
Organization: PHP
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2011-1938 (🔍)

X-Force: 67606
Vulnerability Center: 31635 - PHP 5.3.3-5.3.6 Remote Arbitrary Code Execution Vulnerability via a Long Pathname for a Unix Socket, High
SecurityFocus: 49241 - PHP Versions Prior to 5.3.7 Multiple Security Vulnerabilities
OSVDB: 72644

scip Labs:
See also: 🔍


Created: 03/23/2015 04:50 PM
Updated: 11/08/2021 07:22 AM
Changes: 03/23/2015 04:50 PM (67), 03/23/2017 07:48 AM (20), 11/08/2021 07:03 AM (3), 11/08/2021 07:15 AM (1), 11/08/2021 07:22 AM (2)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!