CVEfocus › CVE database › CVE-2016-2781

CVE-2016-2781

CVSS 4.6 MediumEPSS 0.4% (higher than 38% of CVEs)Published 2017-02-07Updated 2025-06-09Assigner: mitre

chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.

CWE-20

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
1Fix pending
10Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Ubuntu 24.04coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Ubuntu 22.04coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Ubuntu 20.04coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Ubuntu 18.04coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Ubuntu 16.04coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Ubuntu 14.04coreutilsWill not fix
as of 2026-03-31, there is no viable solution for this issue. We will not be fixing this CVE in Ubuntu, marking as ignored.
UBUNTU-CVE-2016-2781
Debian 14coreutilsFixed9.4-1DEBIAN-CVE-2016-2781
Debian 13coreutilsFixed9.4-1DEBIAN-CVE-2016-2781
Debian 12coreutilsFix pendingDEBIAN-CVE-2016-2781
Red Hat Enterprise Linux 7coreutilsWill not fix
Will not fix
Red Hat Enterprise Linux 6coreutilsWill not fix
Will not fix
Red Hat Enterprise Linux 6coreutils-libsWill not fix
Will not fix
Red Hat Enterprise Linux 5coreutilsNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.