CVE-2017-16997
elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged…
- Published
- Updated
- Reserved
- Assigned by
- debian
Description
elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the "./" directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very uncommon; most likely, no such program is shipped with any common Linux distribution.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.9% · top 13% of all CVEs (3 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
- improper RPATH/RUNPATH validation
- CWE-426 (opens in a new tab)All about CWE-426 and its CVEs
Affected products
glibc 2.19 through 2.26
- affected glibc 2.19 through 2.26
References (6)
- https://sourceware.org/bugzilla/show_bug.cgi?id=22625 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 102228 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.debian.org/884615 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:3092 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHBA-2019:0327 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-16997)Record last updated .