Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-16997

glibc: Incorrect handling of RPATH in elf/dl-load.c can be used to execute code loaded from arbitrary libraries

Overview

Published
18 Dec 2017
Modified
17 Jun 2026
High CVE
0 Registry packages
20 OS packages
7 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-426

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 17 fixes

Oracle Linux 1 release · 1 package

fixed 1
glibc
Oracle Linux fixes for CVE-2017-16997
ReleasePackageFixed in
7 glibc +6 2.17-260.0.9.el7

Red Hat 1 release · 2 packages

wont fix 1 fixed 1
compat-glibc glibc
Red Hat fixes for CVE-2017-16997
ReleasePackageFixed inAdvisory
7 compat-glibc +1 wont fix —
7 glibc +6 0:2.17-260.el7 RHSA-2018:3092

debian 5 releases · 1 package

fixed 5
glibc
debian fixes for CVE-2017-16997
ReleasePackageFixed in
11 glibc 2.25-6
12 glibc 2.25-6
13 glibc 2.25-6
14 glibc 2.25-6
9 glibc 2.24-11+deb9u4

echo 1 release · 1 package

fixed 1
glibc
echo fixes for CVE-2017-16997
ReleasePackageFixed in
glibc 2.25-6

openSUSE 1 release · 1 package

fixed 1
glibc
openSUSE fixes for CVE-2017-16997
ReleasePackageFixed inAdvisory
Tumbleweed glibc +11 2.34-1.2 openSUSE-SU-2024:10792-1

root.io debian 3 releases · 1 package

fixed 3
rootio-glibc
root.io debian fixes for CVE-2017-16997
ReleasePackageFixed in
11 rootio-glibc 2.25-6
12 rootio-glibc 2.25-6
13 rootio-glibc 2.25-6

seal Red Hat 2 releases · 1 package

fixed 4
glibc
seal Red Hat fixes for CVE-2017-16997
ReleasePackageFixed in
8 glibc +1 2.28-164.0.5.el8_5.3+sp999
8 glibc +1 2.28-251.el8_10.11+sp999
8 glibc +1 2.28-251.el8_10.14+sp999
9 glibc +1 2.34-125.el9_5.1+sp999

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.