SecurityContext

CVE-2025-23395: Screen - Privilege Escalation

  • Cve: CVE-2025-23395
  • Name: Screen - Privilege Escalation
  • 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
  • Impact: Unprivileged users can create root-owned files and escalate to root privileges, compromising the entire system.
  • Remediation: Update to the latest version that properly drops privileges when handling user-supplied paths.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00303
  • Epss percentile: 0.23263
  • Assignee: [email protected]
  • Published at: 2025-05-26T16:15:20Z
  • Age in days: 547
  • Modified at: 2026-06-17T08:54:01Z
  • References total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-23395
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-271Privilege Dropping / Lowering Errors

References

UrlSourceTags
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-23395nvd
https://www.openwall.com/lists/oss-security/2025/05/12/1nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts