Description
slock allows attackers to bypass the screen lock via vectors involving an invalid password hash, which triggers a NULL pointer dereference and crash.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | suckless-tools | 41-1 | — |
| Debian 13 | suckless-tools | 41-1 | — |
| Debian 12 | suckless-tools | 41-1 | — |
| Debian 7 | suckless-tools | 38-2+deb7u1 | DLA-598-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | suckless-tools | 40-1+deb8u2build0.14.04.1 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | slock | 1.3-r3 | — |
| Alpine v3.23 | slock | 1.3-r3 | — |
| Alpine v3.22 | slock | 1.3-r3 | — |
| Alpine v3.21 | slock | 1.3-r3 | — |
| Alpine v3.20 | slock | 1.3-r3 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | slock | 1.3-r3 | — |
| Alpine v3.18 | slock | 1.3-r3 | — |
| Alpine v3.17 | slock | 1.3-r3 | — |
| Alpine v3.16 | slock | 1.3-r3 | — |
| Alpine v3.15 | slock | 1.3-r3 | — |
| Alpine v3.14 | slock | 1.3-r3 | — |
| Alpine v3.13 | slock | 1.3-r3 | — |
| Alpine v3.12 | slock | 1.3-r3 | — |
| Alpine v3.11 | slock | 1.3-r3 | — |
| Alpine v3.10 | slock | 1.3-r3 | — |
| Alpine v3.9 | slock | 1.3-r3 | — |
| Alpine v3.8 | slock | 1.3-r3 | — |
| Alpine v3.7 | slock | 1.3-r3 | — |
| Alpine v3.6 | slock | 1.3-r3 | — |
| Alpine v3.5 | slock | 1.3-r3 | — |
Advisories 1
- DLA-598-1 suckless-tools - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20160818 Re: CVE request - slock, all versions NULL pointer dereference mailing-list
- http://s1m0n.dft-labs.eu/files/slock/slock.txt
- FEDORA-2016-985b68721b vendor-advisory
- [oss-security] 20160818 CVE request - slock, all versions NULL pointer dereference mailing-list
- http://git.suckless.org/slock/commit/?id=d8bec0f6fdc8a246d78cb488a0068954b46fcb29
- FEDORA-2016-1b7e66c08b vendor-advisory
- 92546 vdb-entry