CVE-2025-46802
Temporary chown() of users' TTY to mode 0666 allows PTY hijacking in screen
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.3
Temporary chown() of users' TTY to mode 0666 allows PTY hijacking in screen
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
CVE-2025-46802- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
EUVDEUVD-2025-28068
5.3
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
EUVD-2025-28068- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rh76-vmrr-w867
5.3
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the...
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
GHSA-rh76-vmrr-w867- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
NVD
5.3
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
CVE-2025-46802- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
OSVALPINE-CVE-2025-46802
5.3
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
ALPINE-CVE-2025-46802- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVBELL-CVE-2025-46802
6.0
- Record
BELL-CVE-2025-46802- CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2025-46802
5.3
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
DEBIAN-CVE-2025-46802- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-1579
7.8
screen security update
Screen is a full-screen window manager that multiplexes a physical terminal between several processes,typically interactive shells.
Security Fix(es):
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.(CVE-2025-46802)
A minor information leak when running Screen with setuid-root privileges allows unprivileged users to deduce information about a path that would otherwise not be available.
Affected are older Screen versions, as well as version 5.0.0.(CVE-2025-46804)
Screen version 5.0.0 and older version 4 releases have a TOCTOU race potentially allowing to send SIGHUP, SIGCONT to privileged processes when installed setuid-root.(CVE-2025-46805)
- Record
OESA-2025-1579- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-46802
5.3
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
UBUNTU-CVE-2025-46802- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 6.0 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSV No score
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
- Record
CVE-2025-46802- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15164-1 No score
screen-4.9.1-5.1 on GA media
These are all security issues fixed in the screen-4.9.1-5.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15164-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02016-1 No score
Security update for screen
This update for screen fixes the following issues:
Security issues fixed:
- CVE-2025-46802: temporary
chmodof a user's TTY to mode 0666 when attempting to attach to a multi-user session allows for TTY hijacking (bsc#1242269).
Other issues fixed:
- Use TTY file descriptor passing after a suspend (
MSG_CONT). - Fix resume after suspend in multi-user mode.
- Record
SUSE-SU-2025:02016-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02186-1 No score
Security update for screen
This update for screen fixes the following issues:
Security issues fixed:
- CVE-2025-46802: temporary
chmodof a user's TTY to mode 0666 when attempting to attach to a multi-user session allows for TTY hijacking (bsc#1242269).
Other issues fixed:
- Use TTY file descriptor passing after a suspend (
MSG_CONT).
- Record
SUSE-SU-2025:02186-1- Updated
- 2026-11-02
OSVUSN-7978-1 No score
screen vulnerabilities
It was discovered that GNU Screen incorrectly handled signals when setuid or setgid privileges were being used, which is not the default in Ubuntu. A local attacker could use this issue to send privileged signals, possibly leading to a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-24626)
It was discovered that GNU Screen incorrectly handled PTY permissions. A local attacker could possibly use this issue to connect to an unauthorized screen session. (CVE-2025-46802)
It was discovered that GNU Screen incorrectly handled file access when setuid privileges were being used, which is not the default in Ubuntu. A local attacker could use this issue to deduce information about certain file paths. (CVE-2025-46804)
It was discovered that GNU Screen incorrectly handled signals when setuid privileges were being used, which is not the default in Ubuntu. A local attacker could use this issue to send privileged signals, possibly leading to a denial of service. (CVE-2025-46805)
- Record
USN-7978-1- Updated
- 2026-11-02
Affected products
- suse linux enterprise desktop 15 sp6
- suse linux enterprise high performance computing 15 sp6
- suse linux enterprise micro 5.3
- suse linux enterprise micro 5.4
- suse linux enterprise micro 5.5
- suse linux enterprise module for basesystem 15 sp6
- suse linux enterprise server 15 sp6
- suse linux enterprise server for sap applications 15 sp6
Affected packages
| Package | Affected | Fixed |
|---|---|---|
screenAlpine:v3.18 |
before 4.9.1_git20250512-r0 | 4.9.1_git20250512-r0 |
screenAlpine:v3.19 |
before 4.9.1_git20250512-r0 | 4.9.1_git20250512-r0 |
screenAlpine:v3.20 |
before 4.9.1_git20250512-r0 | 4.9.1_git20250512-r0 |
screenAlpine:v3.21 |
before 5.0.1-r0 | 5.0.1-r0 |
screenAlpine:v3.22 |
before 5.0.1-r0 | 5.0.1-r0 |
screenAlpine:v3.23 |
before 5.0.1-r0 | 5.0.1-r0 |
screenAlpine:v3.24 |
before 5.0.1-r0 | 5.0.1-r0 |
screenAlpaquita:23 |
4.9.0-r0 up to 4.9.1_git20250512-r0 | 4.9.1_git20250512-r0 |
screenAlpaquita:stream |
4.9.0-r1 up to 5.0.1-r0 | 5.0.1-r0 |
screenDebian:12 |
All versions, plus listed versions 4.9.0-44.9.1-14.9.1-1+hurd.14.9.1-1+hurd.24.9.1-2 Show 8 moreShow less4.9.1-34.9.1-3.15.0.1-15.0.1-1.15.0.1-1.1+be5.0.1-25.0.1-35.0.2-1 |
None known |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
screenDebian:13 |
before 4.9.1-3 | 4.9.1-3 |
screenDebian:14 |
before 4.9.1-3 | 4.9.1-3 |
screenopenEuler:22.03-LTS-SP4 From an advisory covering 3 CVEs |
before 4.9.0-3.oe2203sp4 | 4.9.0-3.oe2203sp4 |
screenopenEuler:24.03-LTS From an advisory covering 3 CVEs |
before 4.9.0-3.oe2403sp1 | 4.9.0-3.oe2403sp1 |
screenopenEuler:24.03-LTS-SP1 From an advisory covering 3 CVEs |
before 4.9.0-3.oe2403sp1 | 4.9.0-3.oe2403sp1 |
screenopenEuler:20.03-LTS-SP4 From an advisory covering 3 CVEs |
before 4.8.0-7.oe2003sp4 | 4.8.0-7.oe2003sp4 |
screenopenEuler:22.03-LTS-SP3 From an advisory covering 3 CVEs |
before 4.9.0-3.oe2203sp3 | 4.9.0-3.oe2203sp3 |
screenSUSE:Linux Enterprise Micro 5.3 |
before 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
screenSUSE:Linux Enterprise Micro 5.4 |
before 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
screenSUSE:Linux Enterprise Micro 5.5 |
before 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
screenSUSE:Linux Enterprise Module for Basesystem 15 SP6 |
before 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
screenSUSE:Linux Enterprise Module for Basesystem 15 SP7 |
before 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
screenopenSUSE:Leap 15.6 |
before 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
screenSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 4.0.4-23.9.1 | 4.0.4-23.9.1 |
screenUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 4.0.3-14ubuntu104.1.0~20120320gitdb59704-94.1.0~20120320gitdb59704-9ubuntu0.1~esm14.1.0~20120320gitdb59704-9ubuntu0.1~esm24.1.0~20120320gitdb59704-9ubuntu0.1~esm3 |
None known |
screenUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 4.3.1-24.3.1-2build14.3.1-2ubuntu0.14.3.1-2ubuntu0.1+esm1 |
None known |
screenUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.6.1-14.6.2-14.6.2-1ubuntu14.6.2-1ubuntu1.14.6.2-1ubuntu1.1+esm1 |
None known |
screenUbuntu:20.04:LTS |
All versions, plus listed versions 4.6.2-3build14.7.0-14.8.0-14.8.0-1ubuntu0.1 |
None known |
screenUbuntu:22.04:LTS |
before 4.9.0-1ubuntu0.1, plus listed versions 4.8.0-64.8.0-6build14.8.0-74.9.0-1 |
4.9.0-1ubuntu0.1 |
screenUbuntu:24.04:LTS |
before 4.9.1-1ubuntu1, plus listed versions 4.9.0-44.9.1-14.9.1-1build1 |
4.9.1-1ubuntu1 |
screenUbuntu:22.04:LTS From an advisory covering 4 CVEs |
before 4.9.0-1ubuntu0.1, plus listed versions 4.8.0-64.8.0-6build14.8.0-74.9.0-1 |
4.9.0-1ubuntu0.1 |
screenUbuntu:24.04:LTS From an advisory covering 4 CVEs |
before 4.9.1-1ubuntu1, plus listed versions 4.9.0-44.9.1-14.9.1-1build1 |
4.9.1-1ubuntu1 |
screenopenSUSE:Tumbleweed |
before 4.9.1-5.1 | 4.9.1-5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-46802 is a medium vulnerability (CVSS 5.3) in Suse Linux Enterprise Desktop 15 Sp6, published May 8, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.24%, the 14th percentile. Fixed in screen 4.9.1_git20250512-r0.
References
bugzilla.suse.com/show_bug.cgi?id=CVE-2025-46802
openwall.com/lists/oss-security/2025/05/12/1
nvd.nist.gov/vuln/detail/CVE-2025-46802
github.com/advisories/GHSA-rh76-vmrr-w867
security.alpinelinux.org/vuln/CVE-2025-46802
docs.bell-sw.com/security/cves/CVE-2025-46802
Show 15 moreShow less
security-tracker.debian.org/tracker/CVE-2025-46802
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1579
nvd.nist.gov/vuln/detail/CVE-2025-46804
nvd.nist.gov/vuln/detail/CVE-2025-46805
suse.com/support/update/announcement/2025/suse-su-202502016-1
bugzilla.suse.com/1242269
suse.com/security/cve/CVE-2025-46802
suse.com/support/update/announcement/2025/suse-su-202502186-1
ubuntu.com/security/CVE-2025-46802
cve.org/CVERecord?id=CVE-2025-46802
ubuntu.com/security/notices/USN-7978-1
ubuntu.com/security/CVE-2023-24626
ubuntu.com/security/CVE-2025-46804
ubuntu.com/security/CVE-2025-46805
lists.opensuse.org/archives/list/[email protected]/thread/EHAVZBGPF26QCKDE25CJVWLHNTDLGTXQ