CVE-2016-2856
pt_chown in the glibc package before 2.19-18+deb8u4 on Debian jessie; the elibc package before 2.15-0ubuntu10.14 on Ubuntu 12.04 LTS and…
Check your servers for CVE-2016-2856
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-2856 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
pt_chown in the glibc package before 2.19-18+deb8u4 on Debian jessie; the elibc package before 2.15-0ubuntu10.14 on Ubuntu 12.04 LTS and before 2.19-0ubuntu6.8 on Ubuntu 14.04 LTS; and the glibc package before 2.21-0ubuntu4.2 on Ubuntu 15.10 and before 2.23-0ubuntu1 on Ubuntu 16.04 LTS and 16.10 lacks a namespace check associated with file-descriptor passing, which allows local users to capture keystrokes and spoof data, and possibly gain privileges, via pts read and write operations, related to debian/sysdeps/linux.mk. NOTE: this is not considered a vulnerability in the upstream GNU C Library because the upstream documentation has a clear security recommendation against the --enable-pt_chown option.
Exploitation
EPSS 1.03%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 62.9% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-2856 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-2856RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-2856Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-2856
trivy image --scanners vuln IMAGE | grep CVE-2016-2856
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://anonscm.debian.org/cgit/pkg-glibc/glibc.git/commit/?h=jessie&id=11475c083282c1582c4dd72eecfcb2b7d308c958 anonscm.debian.org
- USN-2985-2 ubuntu.com · vendor advisory
- http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-2856.html people.canonical.com
- http://anonscm.debian.org/cgit/pkg-glibc/glibc.git/commit/?h=jessie&id=09f7764882a81e13e7b5d87d715412283a6ce403 anonscm.debian.org
- USN-2985-1 ubuntu.com · vendor advisory
Other references
- http://www.halfdog.net/Security/2015/PtChownArbitraryPtsAccessViaUserNamespace/ halfdog.net
- [oss-security] 20160306 Re: Access to /dev/pts devices via pt_chown and user namespaces openwall.com · mailing list
- 84601 securityfocus.com · vdb entry
- [oss-security] 20160223 Access to /dev/pts devices via pt_chown and user namespaces openwall.com · mailing list
Source: the record CVE-2016-2856 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse