CVE-2016-6866

NameCVE-2016-6866
Descriptionslock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-598-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
suckless-tools (PTS)jessie40-1+deb8u2fixed
stretch42-2fixed
bullseye, sid, buster44-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
suckless-toolssource(unstable)41-1medium
suckless-toolssourcejessie40-1+deb8u2medium
suckless-toolssourcewheezy38-2+deb7u1mediumDLA-598-1

Notes

http://www.openwall.com/lists/oss-security/2016/08/18/22
http://s1m0n.dft-labs.eu/files/slock/
Starting with 41-1 slock.c got patched to use PAM, cf. #739629
and with the patch readpw(dpy, pws) is not called anymore, and
thus in readpw, not calling crypt(passwd, pws) with a possibly
empty pws.

Search for package or bug name: Reporting problems