Vulnerabilities

Vulnerability · 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".

Published Nov 4, 2019 · catalog updated Oct 22, 2026 · There is a possible

Check if you run it

No confirmed exploitation is on record for CVE-2005-4890. EPSS is 0.63%. Act only if a listed version of There is a possible is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (There is a possible).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.63%
Remediation
Advisory link
Affected products
Debian:12 shadow · Debian:12 sudo · Debian:13 shadow · Debian:13 sudo · Debian:14 shadow · Debian:14 sudo

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Debian:12 shadow0 → 1:4.1.5-1
  • Debian:12 sudo0 → 1.7.4p4
  • Debian:13 shadow0 → 1:4.1.5-1
  • Debian:13 sudo0 → 1.7.4p4
  • Debian:14 shadow0 → 1:4.1.5-1
  • Debian:14 sudo0 → 1.7.4p4

How to fix CVE-2005-4890

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2005-4890. EPSS is 0.63%. Act only if a listed version of There is a possible is installed.

Which versions are affected?

Compare what you have installed with 0 → 1:4.1.5-1, 0 → 1.7.4p4. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.63%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Nov 4, 2019 · OpenSSF OSV / OSV Scanner

    Detected

    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.

  2. Oct 22, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    shadow fixed in 1:4.1.5-1; shadow fixed in 1:4.1.5-1; shadow fixed in 1:4.1.5-1; sudo fixed in 1.7.4p4

  3. Oct 22, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    shadow fixed in 1:4.1.5-1

  4. Oct 22, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    sudo fixed in 1.7.4p4

  5. Oct 22, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2005-4890

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2005-4890

    30-day exploitation probability 0.63%

    first.org
  • OpenSSF OSV / OSV ScannerPackage advisoryDEBIAN-CVE-2005-4890
    osv.dev
  • Trivy Vulnerability DBPackage advisoryDEBIAN-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.

    osv.dev

References

Freshness

Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.