CVE-2025-46803 Screen creates by default world-writable PTYs
Screen allocates world-writable PTYs by default, allowing local attackers to inject input into other users' sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-46803?
CVE-2025-46803 is a medium-severity vulnerability, published on 26 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The default mode of pseudo terminals (PTYs) allocated by Screen was changed from 0620 to 0622, thereby allowing anyone to write to any Screen PTYs in the system.
Weakness: CWE-276
Which versions are affected by CVE-2025-46803?
How do I fix CVE-2025-46803?
Apply the vendor's patch.
Is CVE-2025-46803 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46803 exists.
Sources
Also known as ALPINE-CVE-2025-46803, BELL-CVE-2025-46803, GHSA-g2cq-wg23-g8qw.