CVE-2018-19591
Reported by mitre · Published December 4, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| glibc-langpack-shs | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-mk | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-lb | Amazon Linux | 2.26-32.amzn2.0.1 |
| libcrypt | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-ik | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-uz | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-tl | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-csb | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-kl | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-nan | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-an | Amazon Linux | 2.26-32.amzn2.0.1 |
| glibc-langpack-sid | Amazon Linux | 2.26-32.amzn2.0.1 |
88 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | glibc-langpack-shs | 0 |
| amazon:2 | glibc-langpack-mk | 0 |
| amazon:2 | glibc-langpack-lb | 0 |
| amazon:2 | libcrypt | 0 |
| amazon:2 | glibc-langpack-ik | 0 |
| amazon:2 | glibc-langpack-uz | 0 |
| amazon:2 | glibc-langpack-tl | 0 |
| amazon:2 | glibc-langpack-csb | 0 |
| amazon:2 | glibc-langpack-kl | 0 |
| amazon:2 | glibc-langpack-nan | 0 |
| amazon:2 | glibc-langpack-an | 0 |
| amazon:2 | glibc-langpack-sid | 0 |
| amazon:2 | glibc-langpack-byn | 0 |
| amazon:2 | glibc-all-langpacks | 0 |
| amazon:2 | glibc-utils | 0 |
| amazon:2 | glibc-headers | 0 |
| amazon:2 | glibc-langpack-eo | 0 |
| amazon:2 | glibc-langpack-is | 0 |
| amazon:2 | glibc-langpack-fil | 0 |
…and 186 more
Timeline
- Dec 4, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-19591
vulnetix vdb fixes CVE-2018-19591
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-19591/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- FEDORA-2018-f6b7df660d vendor-advisoryx_refsource_FEDORA
- 106037 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- FEDORA-2018-060302dc83 vendor-advisoryx_refsource_FEDORA
- GLSA-201903-09 vendor-advisoryx_refsource_GENTOO
- 1042174 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201908-06 vendor-advisoryx_refsource_GENTOO
- USN-4416-1 vendor-advisoryx_refsource_UBUNTU
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url