CVE-2025-46802
published 2025-05-26CVE-2025-46802: For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
PriorityP424medium6CVSS 3.1
AVLACHPRLUIRSUCHIHAN
EPSS
0.19%
8.7th percentile
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | screen | < screen 4.9.1-3 (forky) | screen 4.9.1-3 (forky) |
| gnu | screen | >= 0 < 4.9.1-3 | 4.9.1-3 |
| gnu | screen | >= 0 < 4.9.1-3 | 4.9.1-3 |
| gnu | screen | >= 0 < 4.9.0-1ubuntu0.1 | 4.9.0-1ubuntu0.1 |
| gnu | screen | >= 0 < 4.9.1-1ubuntu1 | 4.9.1-1ubuntu1 |
| msrc | azl3_kernel_6.6.47.1-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_kernel_6.6.51.1-5_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0 | — | — |
| suse | suse_linux_enterprise_desktop_15_sp6 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_high_performance_computing_15_sp6 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_micro_5.3 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_micro_5.4 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_micro_5.5 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_module_for_basesystem_15_sp6 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_server_15_sp6 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
| suse | suse_linux_enterprise_server_for_sap_applications_15_sp6 | >= ? < 4.6.2-150000.5.8.1 | 4.6.2-150000.5.8.1 |
CVSS provenance
nvdv3.16.0MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
nvdv4.05.3MEDIUMCVSS: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
osv6.5MEDIUM
vendor_ubuntu6.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_debian5.3LOW
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
screen vulnerabilities
osv·2026-01-26·CVSS 6.5
CVE-2023-24626 [MEDIUM] screen vulnerabilities
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 Scree
GHSA
GHSA-rh76-vmrr-w867: For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session
ghsa_unreviewed·2025-05-26
CVE-2025-46802 [MEDIUM] CWE-732 GHSA-rh76-vmrr-w867: For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
OSV
CVE-2025-46802: For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session
osv·2025-05-26·CVSS 5.3
CVE-2025-46802 [MEDIUM] CVE-2025-46802: For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
Ubuntu
GNU Screen vulnerabilities
vendor_ubuntu·2026-01-26·CVSS 6.5
CVE-2023-24626 [MEDIUM] GNU Screen vulnerabilities
Title: GNU Screen vulnerabilities
Summary: Several security issues were fixed in GNU Screen.
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
Red Hat
screen: TTY Hijacking while Attaching to a Multiuser Session
vendor_redhat·2025-05-13·CVSS 5.3
CVE-2025-46802 [MEDIUM] CWE-362 screen: TTY Hijacking while Attaching to a Multiuser Session
screen: TTY Hijacking while Attaching to a Multiuser Session
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
A flaw was found in Screen, allowing TTY hijacking during attachment to a multiuser session. The issue with this temporary TTY mode change is that it introduces a race condition that allows any other user in the system to open the caller's TTY for reading and writing for a small period of time.
Statement: This vulnerability is an Important local privilege escalation vector rather than a mere moderate flaw due to its exploitation potential during the short-lived but dangerously permissive window created by chmod(attach_tty, 0666). Even though the exposure of the TTY permissions may appear transient, this window allows
Debian
CVE-2025-46802: screen - For a short time they PTY is set to mode 666, allowing any user on the system to...
vendor_debian·2025·CVSS 5.3
CVE-2025-46802 [MEDIUM] CVE-2025-46802: screen - For a short time they PTY is set to mode 666, allowing any user on the system to...
For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 4.9.1-3)
sid: resolved (fixed in 4.9.1-3)
trixie: resolved (fixed in 4.9.1-3)
Microsoft
drm/amd/display: added NULL check at start of dc_validate_stream
vendor_msrc·2024-09-10·CVSS 5.5
CVE-2024-46802 [MEDIUM] CWE-476 drm/amd/display: added NULL check at start of dc_validate_stream
drm/amd/display: added NULL check at start of dc_validate_stream
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Linux: Linux
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: http
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-05-26
Published