CVE-2011-1938: PHP

High severity, CVSS 7.5. EPSS: 23.1% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: version 5.3.3 only; version 5.3.4 only; version 5.3.5 only; version 5.3.6 only

Published 2011-05-31. Last modified 2026-06-16.