Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set
Screen 5.0.0 when it runs with setuid-root privileges does not drop privileges while operating on a user supplied path. This allows unprivileged users to create files in arbitrary locations with `root` ownership, the invoking user's (real) group ownership and file mode 0644. All data written to the Screen PTY will be logged into this file, allowing to escalate to root privileges
Affected products
- =<5.0.0
Matching in nixpkgs
pkgs.screen
Window manager that multiplexes a physical terminal
-
nixos-unstable -
- nixpkgs-unstable 5.0.1
pkgs.yascreen
Curses replacement for daemons and embedded apps
-
nixos-unstable -
- nixpkgs-unstable 2.06
pkgs.screenkey
Screencast tool to display your keys inspired by Screenflick
-
nixos-unstable -
- nixpkgs-unstable 1.5
pkgs.screentest
Simple screen testing tool
-
nixos-unstable -
- nixpkgs-unstable 3.0
pkgs.vokoscreen
Simple GUI screencast recorder, using ffmpeg
-
nixos-unstable -
- nixpkgs-unstable 2.5.8-beta
pkgs.gscreenshot
Screenshot frontend (CLI and GUI) for a variety of screenshot backends
-
nixos-unstable -
- nixpkgs-unstable 3.9.2
pkgs.qscreenshot
Simple creation and editing of screenshots
-
nixos-unstable -
- nixpkgs-unstable 2021-10-18
pkgs.screen-pipe
Personalized AI powered by what you've seen, said, or heard
-
nixos-unstable -
- nixpkgs-unstable 0.1.48
pkgs.screenfetch
Fetches system/theme information in terminal for Linux desktop screenshots
-
nixos-unstable -
- nixpkgs-unstable 3.9.9
pkgs.screenconfig
Automatic configuration of connected screens/monitors
-
nixos-unstable -
- nixpkgs-unstable 0.1.0
pkgs.screenly-cli
Tools for managing digital signs and screens at scale
-
nixos-unstable -
- nixpkgs-unstable 1.0.4
pkgs.wl-screenrec
High performance wlroots screen recording, featuring hardware encoding
-
nixos-unstable -
- nixpkgs-unstable 0.2.0
pkgs.xscreenruler
Simple screen ruler using xlib
-
nixos-unstable -
- nixpkgs-unstable 1.0.2
pkgs.xscreensaver
Set of screensavers
-
nixos-unstable -
- nixpkgs-unstable 6.12
pkgs.vokoscreen-ng
User friendly Open Source screencaster for Linux and Windows
-
nixos-unstable -
- nixpkgs-unstable 4.6.0
pkgs.gh-screensaver
gh extension with animated terminal screensavers
-
nixos-unstable -
- nixpkgs-unstable 2.0.1
pkgs.lxqt.screengrab
Crossplatform tool for fast making screenshots
-
nixos-unstable -
- nixpkgs-unstable 3.0.0
pkgs.multilockscreen
Wrapper script for i3lock-color
-
nixos-unstable -
- nixpkgs-unstable 1.2.0
pkgs.rofi-screenshot
Use rofi to perform various types of screenshots and screen captures
-
nixos-unstable -
- nixpkgs-unstable 2024-09-27
pkgs.betterlockscreen
Fast and sweet looking lockscreen for linux systems with effects
-
nixos-unstable -
- nixpkgs-unstable 4.4.0
pkgs.gnome-screenshot
Utility used in the GNOME desktop environment for taking screenshots
-
nixos-unstable -
- nixpkgs-unstable 41.0
pkgs.imgur-screenshot
Tool for easy screencapping and uploading to imgur
-
nixos-unstable -
- nixpkgs-unstable 2.0.0
pkgs.cosmic-screenshot
Screenshot tool for the COSMIC Desktop Environment
-
nixos-unstable -
- nixpkgs-unstable 1.0.0-alpha.7
pkgs.budgie-screensaver
Fork of old GNOME Screensaver for purposes of providing an authentication prompt on wake
-
nixos-unstable -
- nixpkgs-unstable 5.1.0
pkgs.lxgw-wenkai-screen
LXGW WenKai font optimized for screen reading
-
nixos-unstable -
- nixpkgs-unstable 1.520
pkgs.discord-screenaudio
Custom discord client that supports streaming with audio on Linux
-
nixos-unstable -
- nixpkgs-unstable 1.10.1
pkgs.gpu-screen-recorder
Screen recorder that has minimal impact on system performance by recording a window using the GPU only
-
nixos-unstable -
- nixpkgs-unstable 5.6.8
pkgs.kdePackages.kscreen
KDE's screen management software
-
nixos-unstable -
- nixpkgs-unstable 6.4.5
pkgs.cinnamon-screensaver
Cinnamon screen locker and screensaver program
-
nixos-unstable -
- nixpkgs-unstable 6.4.1
pkgs.mpd-touch-screen-gui
Small MPD client that let's you view covers and has controls suitable for small touchscreens
-
nixos-unstable -
- nixpkgs-unstable 2022-12-30
pkgs.simplescreenrecorder
Screen recorder for Linux
-
nixos-unstable -
- nixpkgs-unstable 0.4.4-unstable-2025-06-14
pkgs.mate.mate-screensaver
Screen saver and locker for the MATE desktop
-
nixos-unstable -
- nixpkgs-unstable 1.28.0
pkgs.asus-wmi-screenpad-ctl
Brightness control program for the asus-wmi-screenpad kernel module
-
nixos-unstable -
- nixpkgs-unstable 1.0.0
pkgs.kdePackages.libkscreen
KDE's screen management software
-
nixos-unstable -
- nixpkgs-unstable 6.4.5
pkgs.ssh-askpass-fullscreen
Small, fullscreen SSH askpass GUI using GTK+2
-
nixos-unstable -
- nixpkgs-unstable 1.3
pkgs.xfce.xfce4-screensaver
Screensaver for Xfce
-
nixos-unstable -
- nixpkgs-unstable 4.20.1
pkgs.gaugePlugins.screenshot
Gauge plugin to take screenshots
-
nixos-unstable -
- nixpkgs-unstable 0.3.2
pkgs.gpu-screen-recorder-gtk
GTK frontend for gpu-screen-recorder
-
nixos-unstable -
- nixpkgs-unstable 5.7.8
pkgs.xorg.fontscreencyrillic
None
-
nixos-unstable -
- nixpkgs-unstable 1.0.5
pkgs.xfce.xfce4-screenshooter
Screenshot utility for the Xfce desktop
-
nixos-unstable -
- nixpkgs-unstable 1.11.2
pkgs.kdePackages.kscreenlocker
Library and components for secure lock screen architecture
-
nixos-unstable -
- nixpkgs-unstable 6.4.5
pkgs.haskellPackages.silkscreen
Prettyprinting transformers
-
nixos-unstable -
- nixpkgs-unstable 0.0.0.4
pkgs.python312Packages.npyscreen
Framework for developing console applications using Python and curses
-
nixos-unstable -
- nixpkgs-unstable 4.10.5
pkgs.python312Packages.oscscreen
Framework for developing console applications using Python and curses
-
nixos-unstable -
- nixpkgs-unstable 2023-03-23
pkgs.python313Packages.npyscreen
Framework for developing console applications using Python and curses
-
nixos-unstable -
- nixpkgs-unstable 4.10.5
pkgs.python313Packages.oscscreen
Framework for developing console applications using Python and curses
-
nixos-unstable -
- nixpkgs-unstable 2023-03-23
pkgs.python312Packages.screeninfo
Fetch location and size of physical screens
-
nixos-unstable -
- nixpkgs-unstable 0.8.1
pkgs.python313Packages.screeninfo
Fetch location and size of physical screens
-
nixos-unstable -
- nixpkgs-unstable 0.8.1
pkgs.gnomeExtensions.screen-rotate
Enable screen rotation regardless of touch mode. Fork of Screen Autorotate by Kosmospredanie.
-
nixos-unstable -
- nixpkgs-unstable 25
pkgs.gnomeExtensions.screen-rotator
Allows you to quickly rotate the screen.
-
nixos-unstable -
- nixpkgs-unstable 2
pkgs.pantheon.elementary-screenshot
Screenshot tool designed for elementary OS
-
nixos-unstable -
- nixpkgs-unstable 8.0.3
pkgs.python312Packages.pyscreenshot
Python screenshot
-
nixos-unstable -
- nixpkgs-unstable 3.1
pkgs.python313Packages.pyscreenshot
Python screenshot
-
nixos-unstable -
- nixpkgs-unstable 3.1
pkgs.gnomeExtensions.screenshort-cut
A simple shortcut to take screenshots directly on your top bar!
-
nixos-unstable -
- nixpkgs-unstable 5
pkgs.gnomeExtensions.screenshot-tool
Conveniently create, copy, store and upload screenshots. Please log out and log in again after updating.
-
nixos-unstable -
- nixpkgs-unstable 76
pkgs.python312Packages.screenlogicpy
Python interface for Pentair Screenlogic devices
-
nixos-unstable -
- nixpkgs-unstable 0.10.2
pkgs.python313Packages.screenlogicpy
Python interface for Pentair Screenlogic devices
-
nixos-unstable -
- nixpkgs-unstable 0.10.2
pkgs.python312Packages.pyps4-2ndscreen
PS4 2nd Screen Python Library
-
nixos-unstable -
- nixpkgs-unstable pyps4-2ndscreen-1.3.1
pkgs.python313Packages.pyps4-2ndscreen
PS4 2nd Screen Python Library
-
nixos-unstable -
- nixpkgs-unstable pyps4-2ndscreen-1.3.1
pkgs.gnomeExtensions.fullscreen-avoider
Moves the top panel to the secondary monitor if the primary is in fullscreen
-
nixos-unstable -
- nixpkgs-unstable 14
pkgs.kodiPackages.screensaver-asteroids
Screensaver that plays Asteroids
-
nixos-unstable -
- nixpkgs-unstable 21.0.2
pkgs.gnomeExtensions.hide-screen-sharing
Hide Screen Sharing. Useful for software KVMs that always show screen sharing like Desk Flow, Input-Leap, Barrier, etc...
-
nixos-unstable -
- nixpkgs-unstable 1
pkgs.gnomeExtensions.lockscreen-extension
Customize GNOME's Lockscreen
-
nixos-unstable -
- nixpkgs-unstable 8
pkgs.gnomeExtensions.move-take-screenshot
Move the 'Take Screenshot' menu item so Alt_Space-Space does what it used to.
-
nixos-unstable -
- nixpkgs-unstable 2
pkgs.gnomeExtensions.fullscreen-hot-corner
Enables hot corner in fullscreen mode
-
nixos-unstable -
- nixpkgs-unstable 16
pkgs.gnomeExtensions.screen-word-translate
Translate word on the screen.
-
nixos-unstable -
- nixpkgs-unstable 50
pkgs.gnomeExtensions.auto-screen-brightness
Automatically switch the screen brightness depending on the power supply status
-
nixos-unstable -
- nixpkgs-unstable 18
pkgs.obs-studio-plugins.obs-dvd-screensaver
DVD screen saver for OBS Studio
-
nixos-unstable -
- nixpkgs-unstable 0.1.0
pkgs.gnomeExtensions.screenshot-window-sizer
Resize windows for GNOME Software screenshots with Ctrl+Alt+s shortcut
-
nixos-unstable -
- nixpkgs-unstable 45
pkgs.haskellPackages.screenshot-to-clipboard
Take screenshot and copy it to the system clipboard
-
nixos-unstable -
- nixpkgs-unstable 0.1.0.0
pkgs.gnomeExtensions.fullscreen-notifications
Enables all notifications in fullscreen mode
-
nixos-unstable -
- nixpkgs-unstable 12
pkgs.home-assistant-component-tests.screenlogic
Open source home automation that puts local control and privacy first
-
nixos-unstable -
- nixpkgs-unstable 2025.9.3
pkgs.gnomeExtensions.primary-input-on-lockscreen
Automatically change the keyboard layout on the lock screen to the primary one.
-
nixos-unstable -
- nixpkgs-unstable 10
pkgs.gnomeExtensions.fullscreen-to-empty-workspace
New, maximized and fullscreen windows will be moved to empty workspaces.
-
nixos-unstable -
- nixpkgs-unstable 7
pkgs.gnomeExtensions.customize-clock-on-lock-screen
Customize Clock on Lock Screen.
-
nixos-unstable -
- nixpkgs-unstable 18
pkgs.gnomeExtensions.fullscreen-to-empty-workspace-2
New, maximized and fullscreen windows will be moved to empty workspaces.
-
nixos-unstable -
- nixpkgs-unstable 5
pkgs.gnomeExtensions.disable-unredirect-fullscreen-windows
Disables unredirect fullscreen windows in gnome-shell to workaround a bug when clicking on full screen windows goes through to windows underneath. This also happens to fix screen tearing in full-screen windows.
-
nixos-unstable -
- nixpkgs-unstable 12
pkgs.gnomeExtensions.do-not-disturb-while-screen-sharing-or-recording
Automatically switches on the "Do Not Disturb" mode while screen sharing or screen recording. As soon as screen sharing/recording is over, "Do Not Disturb" mode will be switched back off.
-
nixos-unstable -
- nixpkgs-unstable 5
Package maintainers
-
@aldenparker Alden Parker
-
@SebTM Sebastian Sellmeier <mail@sebastian-sellmeier.de>
-
@eyJhb eyJhb <eyjhbb@gmail.com>
-
@bobby285271 Bobby Rong <rjl931189261@126.com>
-
@getchoo Seth Flynn <getchoo@tuta.io>
-
@mkg20001 Maciej Krüger <mkg20001+nix@gmail.com>
-
@griffi-gh Luna Prasol <prasol258@gmail.com>
-
@Pandapip1 Gavin John <gavinnjohn@gmail.com>
-
@thefossguy Pratham Patel <prathampatel@thefossguy.com>
-
@a-kenji Alexander Kenji Berthold <aks.kenji@protonmail.com>
-
@michaelBelsanti Mike Belsanti <mbels03@protonmail.com>
-
@nyabinary Niko Cantero <nyanbinary@keemail.me>
-
@drakon64 Evelyn Chance <nixpkgs@drakon.cloud>
-
@HeitorAugustoLN Heitor Augusto <nixpkgs.woven713@passmail.net>
-
@alyssais Alyssa Ross <hi@alyssa.is>
-
@ahoneybun Aaron Honeycutt <aaronhoneycutt@proton.me>
-
@huantianad David Li <davidtianli@gmail.com>
-
@nycodeghg Marie Ramlow <tabmeier12+nix@gmail.com>
-
@foo-dogsquared Gabriel Arazas <foodogsquared@foodogsquared.one>
-
@dasj19 Daniel Șerbănescu <daniel@serbanescu.dk>
-
@hedning Tor Hedin Brønner <torhedinbronner@gmail.com>
-
@jtojnar Jan Tojnar <jtojnar@gmail.com>
-
@honnip Jung seungwoo <me@honnip.page>
-
@js6pak js6pak <me@6pak.dev>
-
@babbaj babbaj <babbaj45@gmail.com>
-
@davisrichard437 Richard Davis <davisrichard437@gmail.com>
-
@dotlambda Robert Schütz <rschuetz17@gmail.com>
-
@mweinelt Martin Weinelt <hexa@darmstadt.ccc.de>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@SuperSandro2000 Sandro Jäckel <sandro.jaeckel@gmail.com>
-
@mjm Matt Moriarity <matt@mattmoriarity.com>
-
@ttuegel Thomas Tuegel <ttuegel@mailbox.org>
-
@ilya-fedin Ilya Fedin <fedin-ilja2010@ya.ru>
-
@LunNova Luna Nova <nixpkgs-maintainer@lunnova.dev>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@K900 Ilya K. <me@0upti.me>
-
@edwtjo Edward Tjörnhammar <ed@cflags.cc>
-
@peterhoeg Peter Hoeg <peter@hoeg.com>
-
@cpages Carles Pagès <page@ruiec.cat>
-
@aanderse Aaron Andersen <aaron@fosslib.net>
-
@dschrempf Dominik Schrempf <dominik.schrempf@gmail.com>
-
@minijackson Rémi Nicole <minijackson@riseup.net>
-
@nvmd Sergey Kazenyuk <kazenyuk@pm.me>
-
@lebensterben Lucius Hu
-
@romildo José Romildo Malaquias <malaquias@gmail.com>
-
@johannesloetzsch Johannes Lötzsch <github@johannesloetzsch.de>
-
@doronbehar Doron Behar <me@doronbehar.com>
-
@kylesferrazza Kyle Sferrazza <nixpkgs@kylesferrazza.com>
-
@flexiondotorg Martin Wimpress <martin@wimpress.org>
-
@davidak David Kleuker <post@davidak.de>
-
@jollheef Mikhail Klementev <root@dumpstack.io>
-
@nicolas-goudry Nicolas Goudry <goudry.nicolas@gmail.com>
-
@JamieMagee Jamie Magee <jamie.magee@gmail.com>
-
@NickHu Nick Hu <me@nickhu.co.uk>
-
@bjornfor Bjørn Forsman <bjorn.forsman@gmail.com>
-
@zopieux Alexandre Macabies <zopieux@gmail.com>
-
@fpletz Franz Pletz <fpletz@fnordicwalking.de>
-
@dit7ya Mostly Void <7rat13@gmail.com>
-
@jceb Jan Christoph Ebersbach <jceb@e-jc.de>
-
@relrod Ricky Elrod <ricky@elrod.me>
-
@rasendubi Alexey Shmalko <rasen.dubi@gmail.com>
-
@vpetersson Viktor Petersson <vpetersson@screenly.io>
-
@evils Evils <evils.devils@protonmail.com>
-
@league Christopher League <league@contrapunctus.net>
-
@SCOTT-HAMILTON Scott Hamilton <sgn.hamilton@protonmail.com>
-
@dietmarw Dietmar Winkler <dietmar.winkler@dwe.no>
-
@colemickens Cole Mickens <cole.mickens@gmail.com>
-
@muscaln Mustafa Çalışkan <muscaln@protonmail.com>
-
@symphorien Guillaume Girol <symphorien_nixpkgs@xlumurb.eu>
-
@julian-hoch Julian Hoch
-
@7c6f434c Michael Raskin <7c6f434c@mail.ru>
-
@arezvov Alexander Rezvov <alex@rezvov.ru>