CVE-2025-46803 Details
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.
A vulnerability in GNU Screen version 5.0.0 has been identified, where the default permission for pseudo terminals (PTYs) was changed to allow public write access. This change creates a security risk by enabling any user to write to any Screen PTY on the system. The issue arises from the way Screen handles PTY permissions, particularly in its multi-user mode, which is available when Screen is setuid-root.
Users can manually configure Screen to use a safer PTY mode by passing the `--with-pty-mode=0620` option during installation. This recommendation applies to both version 4.9.1 and the vulnerable 5.0.0 release.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2025CISA-ADP
Assessed May 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.openwall.com/lists/oss-security/2025/05/12/1 | CISA-ADP | BundleMailing ListRemedy |
| http://www.openwall.com/lists/oss-security/2025/05/13/6 | CVE | Mailing ListTechnical Description |
| https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-46803 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://www.openwall.com/lists/oss-security/2025/05/12/1 | [email protected] | BundleMailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-276 | Incorrect Default Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GNU Screen | 5.0.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2025 | CVE Modified | CISA-ADP |
| May 26, 2025 | CVE Modified | CVE |
| May 26, 2025 | New CVE Received | [email protected] |
Volerion