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.
Published: 2017-12-18
Score: 7.8 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2017-8165 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.
Ubuntu USN Ubuntu USN USN-3534-1 GNU C Library vulnerabilities
History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01861}

epss

{'score': 0.00813}


Subscriptions

Gnu Glibc
Redhat Enterprise Linux Enterprise Linux Desktop Enterprise Linux Server Enterprise Linux Workstation
cve-icon MITRE

Status: PUBLISHED

Assigner: debian

Published:

Updated: 2024-08-05T20:43:59.423Z

Reserved: 2017-11-27T00:00:00.000Z

Link: CVE-2017-16997

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2017-12-18T01:29:00.190

Modified: 2026-05-13T00:24:29.033

Link: CVE-2017-16997

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-12-17T00:00:00Z

Links: CVE-2017-16997 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses