Live threats

All CVEs / Gnu

CVE-2017-16997Gnu Glibc

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
Yes
Published
Dec 18, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-426
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Glibc.

Affected products (CPE)

VendorProductVersions
gnuglibc2.19
gnuglibc2.20
gnuglibc2.21
gnuglibc2.22
gnuglibc2.23
gnuglibc2.25
gnuglibc2.26
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.