HOMEVULNERABILITIESCVE-2005-4890
HIGH

CVE-2005-4890

CWE-20Published: November 4, 2019· Updated: Jun 16, 2026

7.8
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2005-4890 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

Debian2 product(s)
shadowdebian linux
Red Hat1 product(s)
enterprise linux
sudo_project1 product(s)
sudo
Source: NVD CPE · 8 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (22)

http://www.openwall.com/lists/oss-security/2016/02/25/6Exploit · Mailing List · Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890Issue Tracking · Third Party Advisory

Quick Facts

CVE IDCVE-2005-4890
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-20
CISA KEVNo
Affected3 vendor(s)
PublishedNov 4, 2019

Related CVEs (CWE-20)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2005-4890 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.