Buffer overflow in PHP

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 attackers to execute arbitrary code via a long pathname for a UNIX socket.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.231 (97.7th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2011-1938: held from 0.231 to 0.231.

EPSS over last 30 days · oldest: 0.231 · newest: 0.231 · change: 0.000

Affected products

  • PHP — versions 5.3.3, 5.3.4, 5.3.5

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2011-1938?
CVE-2011-1938 is a vulnerability in PHP, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2011-05-31.
Is CVE-2011-1938 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.