CVE-2018-19591

glibc: file descriptor leak in if_nametoindex() in sysdeps/unix/sysv/linux/if_index.c

Published Dec 4, 2018 CVSS 3.1 · 7.5 High EPSS 5.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-11280 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.
Ubuntu USN Ubuntu USN USN-4416-1 GNU C Library vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-404
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 6:30 AM
Reserved
Nov 26, 2018, 12:00 AM
Status
Modified
Published
Dec 4, 2018, 4:29 PM
Modified
Oct 14, 2026, 7:16 AM
Severity
Moderate
Public date
Nov 27, 2018, 12:00 AM