In the desciption of the vulnerability:
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.
I can see how this might be a local issue, but how could an attacker potentially exploit this remotely?
EDIT:
Exact vulnerability: http://www.securityfocus.com/bid/47950