CVE-2026-0915

getnetbyaddr and getnetbyaddr_r leak stack contents to DNS resovler

State
Published
Severity
7.5 High
Published
Jan 15, 2026
Updated
Jan 20, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

Calling getnetbyaddr or getnetbyaddr_r with a configured nsswitch.conf that specifies the library's DNS backend for networks and queries for a zero-valued network in the GNU C Library version 2.0 to version 2.42 can leak stack contents to the configured DNS resolver.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
glibcThe GNU C Library
  • 2.0 through 2.42Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.