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 escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.
Key facts
- CVSS score
- 7.8 (v3.1)
- Severity
- HIGH
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-20
- EPSS score
- 0.6% (49th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2005-4881)
- Published
- November 4, 2019
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2005-4881 in the EU Vulnerability Database. Last updated in EUVD on August 8, 2024.
View on the EU Vulnerability DatabaseAffected products
- debian / debian linux
- debian / debian linux
- debian / debian linux
- debian / shadow
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
- sudo project / sudo
Certified products that may be affected
9 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux 5 OpenSSH-Server Cryptographic Module - Red Hat®, Inc. - FIPS 140 1384 - historical
- Red Hat Enterprise Linux 5 OpenSSH Client Cryptographic Module - Red Hat®, Inc. - FIPS 140 1385 - historical
- Red Hat Enterprise Linux 5 OpenSwan Cryptographic Module - Red Hat®, Inc. - FIPS 140 1386 - historical
- Red Hat Enterprise Linux 5 Kernel Crypto API Cryptographic Module - Red Hat®, Inc. - FIPS 140 1387 - historical
- Red Hat Enterprise Linux 5 OpenSSL Cryptographic Module - Red Hat®, Inc. - FIPS 140 1320 - historical
See all 9 in the Security Certifications Explorer.
References
- http://www.openwall.com/lists/oss-security/2012/11/06/8(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2013/05/20/3(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2013/11/28/10(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2013/11/29/5(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2014/10/20/9(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2014/10/21/1(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2014/12/15/5(Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2016/02/25/6(Exploit, Mailing List, Third Party Advisory)
- https://access.redhat.com/security/cve/cve-2005-4890(Third Party Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890(Issue Tracking, Third Party Advisory)
- https://security-tracker.debian.org/tracker/CVE-2005-4890(Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain