Back
CVE-2005-4890
There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be…
High7.8EPSS 0.63%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.63% · top 50% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
- tty hijacking possible in "su" via TIOCSTI ioctl
- CWE-20 (opens in a new tab)All about CWE-20 and its CVEs
Affected products
References (11)
- http://www.openwall.com/lists/oss-security/2014/12/15/5 (opens in a new tab)x_refsource_MISCx_transferred
- https://security-tracker.debian.org/tracker/CVE-2005-4890 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890 (opens in a new tab)x_refsource_MISCx_transferred
- https://access.redhat.com/security/cve/cve-2005-4890 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2012/11/06/8 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2013/05/20/3 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2013/11/28/10 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2013/11/29/5 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2014/10/20/9 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2014/10/21/1 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2016/02/25/6 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2005-4890)Record last updated .