5.4Medium

CVE-2026-4438gethostbyaddr and gethostbyaddr_r return invalid DNS hostnames

The GNU C Library glibc; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP; Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP Published: (8 months ago)

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.

Weakness (CWE): CWE-20CWE-88

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
gnu glibc 2.34 – ≤ 2.43
The GNU C Library glibc 2.34 – ≤ 2.43
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 – < V3.1.6
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5 – < V3.1.6
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5 – < V3.1.6

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* ≥ 2.34 ≤ 2.43