CVE-2025-23395
published high CVSS 4.0 · 7.3Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | screen5.0 through 5.0.0 · Other versions: unaffected | Affected | Not stated | suse |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | screen | Fixed | 5.0.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | screenaarch64 | Advisory build | 5.0.2-1.1 | OPENSUSE-SU-2026:12373-1 |
| Alpine Linux | v3.21 | screen | Fixed | 5.0.1-r0 | Package fix record |
| Alpine Linux | v3.22 | screen | Fixed | 5.0.1-r0 | Package fix record |
| Alpine Linux | v3.23 | screen | Fixed | 5.0.1-r0 | Package fix record |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | screen | Fixed | 5.0.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | screenppc64le | Advisory build | 5.0.2-1.1 | OPENSUSE-SU-2026:12373-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | screens390x | Advisory build | 5.0.2-1.1 | OPENSUSE-SU-2026:12373-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | screenx86_64 | Advisory build | 5.0.2-1.1 | OPENSUSE-SU-2026:12373-1 |
Description
Screen 5.0.0 when it runs with setuid-root privileges does not drop privileges while operating on a user supplied path. This allows unprivileged users to create files in arbitrary locations with `root` ownership, the invoking user's (real) group ownership and file mode 0644. All data written to the Screen PTY will be logged into this file, allowing to escalate to root privileges
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- suse · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | suse · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| screen | 5.0 through 5.0.0 (affected · semver)Default: unaffected | suse · cna |
Weaknesses
1- CWE-271 CWE-271: Privilege Dropping / Lowering Errors
References
2Provider assertions
2suse · cna
Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6019532c4ae06e1002bb63b5f6f5c3d99a029302bad063547795b96297a14eed
- Ingested
- 23 Sep 2026, 08:40:42 UTC
- Source record
- Official CVE record