CVEfocus › CVE database › CVE-2025-46802

CVE-2025-46802Temporary chown() of users' TTY to mode 0666 allows PTY hijacking in screen

CVSS 6.0 MediumEPSS 0.2% (higher than 14% of CVEs)Published 2025-05-26Updated 2025-05-27Assigner: suse

For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.

CWE-732

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
4Fix pending
3Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04screenNot affected
vulnerable_code_not_present
Ubuntu 25.10screenNot affected
vulnerable_code_not_present
Ubuntu 24.04screenFixed4.9.1-1ubuntu1UBUNTU-CVE-2025-46802
Ubuntu 22.04screenFixed4.9.0-1ubuntu0.1UBUNTU-CVE-2025-46802
Ubuntu 20.04screenFix pendingUBUNTU-CVE-2025-46802
Ubuntu 18.04screenFix pendingUBUNTU-CVE-2025-46802
Ubuntu 16.04screenFix pendingUBUNTU-CVE-2025-46802
Ubuntu 14.04screenFix pendingUBUNTU-CVE-2025-46802
Debian 14screenFixed4.9.1-3DEBIAN-CVE-2025-46802
Debian 13screenFixed4.9.1-3DEBIAN-CVE-2025-46802
Debian 12screenWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-46802
Red Hat Enterprise Linux 7screenWill not fix
Out of support scope
Red Hat Enterprise Linux 6screenWill not fix
Out of support scope
Alpine Linux 3.24screenFixed5.0.1-r0ALPINE-CVE-2025-46802
Alpine Linux 3.23screenFixed5.0.1-r0ALPINE-CVE-2025-46802
Alpine Linux 3.22screenFixed5.0.1-r0ALPINE-CVE-2025-46802
Alpine Linux 3.21screenFixed5.0.1-r0ALPINE-CVE-2025-46802
Alpine Linux 3.20screenFixed4.9.1_git20250512-r0ALPINE-CVE-2025-46802
Alpine Linux 3.19screenFixed4.9.1_git20250512-r0ALPINE-CVE-2025-46802
Alpine Linux 3.18screenFixed4.9.1_git20250512-r0ALPINE-CVE-2025-46802

What the vendor says

As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.