CVE-2026-4438
Received Received - Intake
DNS Spoofing via gethostbyaddr in GNU C Library

Publication date: 2026-03-20

Last updated on: 2026-04-07

Assigner: GNU C Library

Description
Calling gethostbyaddr or gethostbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend in the GNU C library version 2.34 to version 2.43 could result in an invalid DNS hostname being returned to the caller in violation of the DNS specification.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-20
Last Modified
2026-04-07
Generated
2026-06-16
AI Q&A
2026-03-20
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gnu glibc From 2.34 (inc) to 2.43 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability occurs when the functions gethostbyaddr or gethostbyaddr_r are called in the GNU C library versions 2.34 to 2.43 with a configured nsswitch.conf that specifies the library's DNS backend. Under these conditions, the functions could return an invalid DNS hostname to the caller, which violates the DNS specification.

Impact Analysis

The impact of this vulnerability is that applications relying on gethostbyaddr or gethostbyaddr_r for hostname resolution may receive invalid DNS hostnames. This could lead to incorrect hostname information being used in network communications or logging, potentially causing failures, misrouting, or security issues related to hostname validation.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-4438. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart