CVE-2005-4890 json
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…
published 2019-11-04 7 y ago modified 2026-06-16 4 mo ago also EUVD-2005-4881
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sudo Debian 14, Debian 13, Debian 12 1.7.4p4
- shadow Debian 14, Debian 13, Debian 12 1:4.1.5-1
debian advisories DEBIAN-CVE-2005-4890
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-4890 updated cvss 6.2
coreutils: tty hijacking possible in "su" via TIOCSTI ioctl
-
Red Hat Enterprise Linux 4 coreutilsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 coreutils Red Hat Enterprise Linux 6 coreutils, coreutils-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2016/02/25/6 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- Red Hat shadow
- Red Hat sudo
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
openwall.com
/lists/oss-security/2016/02/25/6
exploit, mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2014/12/15/5
mailing-list, third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2005-4890
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2005-4890
issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/cve-2005-4890
third-party-advisory
-
openwall.com
/lists/oss-security/2012/11/06/8
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2013/05/20/3
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2013/11/28/10
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2013/11/29/5
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2014/10/20/9
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2014/10/21/1
mailing-list, third-party-advisory
Sources
- CVE List CVE-2005-4890
- NVD CVE-2005-4890
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.