Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2011-1938: 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…

HighCVSS 7.5 · v2.0—Proof of concept Fix available

Noroxi assessment

Priority: Monitor (action score 37/100)

  • Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 23.1% (FIRST EPSS); higher than 97.7% of all records.
  • No special conditions are required; it is repeatable.
  • Fixed version: php5 (Debian:5.0) 5.2.6.dfsg.1-1+lenny14; php5 (Debian:6.0) 5.3.3-7+squeeze5; php53 (Red Hat:enterprise_linux:5::client_workstation) 0:5.3.3-1.el5_7.3.

Low priority for now. Upgrade to php5 (Debian:5.0) 5.2.6.dfsg.1-1+lenny14; php5 (Debian:6.0) 5.3.3-7+squeeze5; php53 (Red Hat:enterprise_linux:5::client_workstation) 0:5.3.3-1.el5_7.3 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
May 31, 2011
Updated
Jun 16, 2026
EPSS
23.1% · 97th percentile

Report tools

JSON

Action score

37

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
7 / 30 · 23.1%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2011-1938

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
phpphp

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Watch new CVEs for php

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php5.3.3
  • php php5.3.4
  • php php5.3.5
  • php php5.3.6

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:5.0php5before 5.2.6.dfsg.1-1+lenny145.2.6.dfsg.1-1+lenny14
Debian:6.0php5before 5.3.3-7+squeeze55.3.3-7+squeeze5
Red Hat:enterprise_linux:5::client_workstationphp53before 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-bcmathbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-clibefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-commonbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-dbabefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-debuginfobefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-develbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-gdbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-imapbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-intlbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-ldapbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-mbstringbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-mysqlbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-odbcbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-pdobefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-pgsqlbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-processbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-pspellbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-snmpbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-soapbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-xmlbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3
Red Hat:enterprise_linux:5::client_workstationphp53-xmlrpcbefore 0:5.3.3-1.el5_7.30:5.3.3-1.el5_7.3

+27

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV
    99Now

Published before and after this one in the same product

  • ← EarlierCVE-2011-1471Mar 19, 2011 · Integer signedness error in zip_stream.c in the Zip extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of…
    21Monitor
  • ← EarlierCVE-2011-0441Mar 29, 2011 · The Debian GNU/Linux /etc/cron.d/php5 cron job for PHP 5.3.5 allows local users to delete arbitrary files via a symlink attack on a…
    25Monitor
  • Later →CVE-2011-2202Jun 16, 2011 · The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST…
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:php55.3.3-7+squeeze5 · Debian:6.0Package registry (OSV)
red hat:php530:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-bcmath0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-cli0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-common0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-dba0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-debuginfo0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-devel0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-gd0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-imap0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-intl0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-ldap0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:php53-mbstring0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2011-05-25
Exploit-DB entrylocal2011-07-04

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-7 d
  2. Published
  3. TodayNov 15, 2026+5647 d

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

nvd-primary

References

All records