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

Published Mar 20, 2026
·
Updated

Calling gethostbyaddr or gethostbyaddrr 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.

Other sources

gethostbyaddr and gethostbyaddrr return invalid DNS hostnames

Microsoft

Affected Software

7 affected componentsFixes available
GNU GNU C Library (glibc)>=2.34<=2.43
Microsoft azl3 glibc 2.38-18
Microsoft azl3 glibc 2.38-19
GNU glibc>=2.34<=2.43
debian/glibc<=2.36-9+deb12u7
2.31-13+deb11u112.31-13+deb11u142.36-9+deb12u142.41-12+deb13u32.42-17
Microsoft azl3 glibc 2.38-19<2.38-19
2.38-19
Microsoft azl3 glibc 2.38-18<2.38-19
2.38-19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/glibc to a version that resolves this vulnerability.

    Fixed in 2.31-13+deb11u11Fixed in 2.31-13+deb11u14Fixed in 2.36-9+deb12u14Fixed in 2.41-12+deb13u3Fixed in 2.42-17
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.38-19

Event History

Mar 20, 2026
CVE Published
via MITRE·07:59 PM
Data Sourced
via MITRE·07:59 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 22, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Updated
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Jul 28, 2026
Data Sourced
via Ubuntu·03:02 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·03:03 PM
Description
Data Sourced
via Debian·03:03 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-4438?

The severity of CVE-2026-4438 is classified as medium due to the potential for invalid DNS hostnames being returned.

2

How do I fix CVE-2026-4438?

To fix CVE-2026-4438, upgrade the GNU C Library from version 2.34 to a version later than 2.43.

3

What systems are affected by CVE-2026-4438?

CVE-2026-4438 affects systems running GNU C Library versions between 2.34 and 2.43 that utilize the DNS backend.

4

What functions are involved in CVE-2026-4438?

CVE-2026-4438 involves the functions gethostbyaddr and gethostbyaddr_r within the GNU C Library.

5

What types of issues could occur due to CVE-2026-4438?

Due to CVE-2026-4438, applications may receive invalid DNS hostnames, potentially leading to connectivity issues.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203