CVE-2026-4438 Details
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.
A vulnerability exists in the GNU C Library (glibc) versions 2.34 through 2.43, within the Name Service Switch (NSS) component. When the DNS backend is specified in the nsswitch.conf file, the functions gethostbyaddr and gethostbyaddr_r may return invalid DNS hostnames that violate DNS standards. This issue arises from a flaw in how these functions process DNS responses, potentially allowing shell metacharacters to be included in the returned hostnames. If an application uses these hostnames in a shell command without proper sanitization, it could lead to shell injection vulnerabilities.
A patch for this vulnerability has been developed and is available on the GNU C Library mailing list. Users should apply this patch to address the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://sourceware.org/bugzilla/show_bug.cgi?id=34015 | GNU C Library | ExploitIssue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | GNU C Library |
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| gnu glibc | >= 2.34, <= 2.43 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | GNU C Library |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2026 | Initial Analysis | [email protected] |
| Mar 23, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2026 | New CVE Received | GNU C Library |