CVE-2018-19591
glibc: file descriptor leak in if_nametoindex() in sysdeps/unix/sysv/linux/if_index.c
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · November 27, 2018
Updated · December 4, 2025
Description
In the GNU C Library (aka glibc or libc6) through 2.28, attempting to resolve a crafted hostname via getaddrinfo() leads to the allocation of a socket descriptor that is not closed. This is related to the if_nametoindex() function.
Statement
This issue did not affect the versions of glibc as shipped with Red Hat Enterprise Linux 5, 6, and 7.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-400 · Uncontrolled Resource Consumption