CVE-2016-10739

glibc: getaddrinfo should reject IP addresses with trailing characters

Published Jan 21, 2019 CVSS 3.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
In the GNU C Library (aka glibc or libc6) through 2.28, the getaddrinfo function would successfully parse a string that contained an IPv4 address followed by whitespace and arbitrary characters, which could lead applications to incorrectly assume that it had parsed a valid string, without the possibility of embedded HTTP headers or other potentially dangerous substrings.

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-2016-1736 In the GNU C Library (aka glibc or libc6) through 2.28, the getaddrinfo function would successfully parse a string that contained an IPv4 address followed by whitespace and arbitrary characters, which could lead applications to incorrectly assume that it had parsed a valid string, without the possibility of embedded HTTP headers or other potentially dangerous substrings.
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 6:30 AM
Reserved
Jan 21, 2019, 12:00 AM
Status
Modified
Published
Jan 21, 2019, 7:29 PM
Modified
Oct 14, 2026, 7:16 AM
Severity
Moderate
Public date
Apr 28, 2016, 12:00 AM