Skip to content
Fencer Intel
high 7.5

CVE-2011-1938 in the critical feed json

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-dependen…

published 2011-05-31 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-1936

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
23.1%
EPSS 23.1% chance of exploitation in 30 days, percentile 97%
public exploits
2
Exploit-DB

Summary

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.

Patch / fix

  • php RHEL 6 5.3.3-3.el6_1.3
  • php53 RHEL 5 5.3.3-1.el5_7.3
  • php-gd RHEL 6 5.3.3-3.el6_1.3
  • php-cli RHEL 6 5.3.3-3.el6_1.3
  • php-dba RHEL 6 5.3.3-3.el6_1.3
  • php-pdo RHEL 6 5.3.3-3.el6_1.3
  • php-xml RHEL 6 5.3.3-3.el6_1.3
  • php-zts RHEL 6 5.3.3-3.el6_1.3

red hat advisories RHSA-2011:1423

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-1938 updated cvss 2.6

php: stack-based buffer overflow in socket_connect()

  • Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-1.el5_7.3, php53-gd 5.3.3-1.el5_7.3, php53-cli 5.3.3-1.el5_7.3, php53-dba 5.3.3-1.el5_7.3, php53-pdo 5.3.3-1.el5_7.3, php53-xml 5.3.3-1.el5_7.3, +14 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-3.el6_1.3, php-gd 5.3.3-3.el6_1.3, php-cli 5.3.3-3.el6_1.3, php-pdo 5.3.3-3.el6_1.3, php-xml 5.3.3-3.el6_1.3, php-ldap 5.3.3-3.el6_1.3, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-3.el6_1.3, php-dba 5.3.3-3.el6_1.3, php-zts 5.3.3-3.el6_1.3, php-imap 5.3.3-3.el6_1.3, php-intl 5.3.3-3.el6_1.3, php-snmp 5.3.3-3.el6_1.3, +8 more Red Hat RHEL Desktop Workstation (v. 5 client) php53 5.3.3-1.el5_7.3, php53-gd 5.3.3-1.el5_7.3, php53-cli 5.3.3-1.el5_7.3, php53-dba 5.3.3-1.el5_7.3, php53-pdo 5.3.3-1.el5_7.3, php53-xml 5.3.3-1.el5_7.3, +14 more
    fixed: vendor fix RHSA-2011:1423
  • Red Hat Enterprise Linux 4 php Red Hat Enterprise Linux 5 php
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-17318)
  2. Published

Exploit prediction

23.13% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-17486 PHP 5.3.6 - Local Buffer Overflow (ROP) local, 2011-07-04
  • EDB-17318 PHP 5.3.5 - 'socket_connect()' Local Buffer Overflow local, 2011-05-25

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.