gdk/gdkwindow.c in GTK+ before 2.18.5, as used in gnome-screensaver before 2.28.1, performs implicit paints on windows of type GDK_WINDOW_FOREIGN, which triggers an X error in certain circumstances and consequently allows physically proximate attackers to bypass screen locking and access an unattended workstation by pressing the Enter key many times.
https://bugzilla.redhat.com/show_bug.cgi?id=565527
https://bugzilla.gnome.org/show_bug.cgi?id=598476
https://bugs.edge.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/446395
http://www.securityfocus.com/bid/38211
http://www.openwall.com/lists/oss-security/2010/03/16/9
http://www.openwall.com/lists/oss-security/2010/03/05/2
http://www.openwall.com/lists/oss-security/2010/02/12/1
http://lists.opensuse.org/opensuse-security-announce/2010-04/msg00001.html
http://git.gnome.org/browse/gtk+/commit/?id=0748cf563d0d0d03001a62589f13be16a8ec06c1
http://git.gnome.org/browse/gnome-screensaver/commit/?id=ab08cc93f2dc6223c8c00bfa1ca4f2d89069dbe0
http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/gtk+-2.18.5.news