gethostbyaddr and gethostbyaddr_r return invalid DNS hostnames
CVE-2026-4438Published 20 Mar 2026, 19:59 UTC
Real-world risk
1.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.4
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from glibc)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| glibcCommon | >= 2.34, <= 2.43 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.400
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.4 × threat 0.851.020
- Rounded to one decimal between 0.1 and 101.0
Exploitation and evidence timeline
- 20 Mar 2026 Published
- 3 Dec 2026 Risk 1.0 (cvss fallback)
Weakness
CWE-20, CWE-88