Buffer Overflow Vulnerability in GNU C Library Affecting Legacy NIS Functionality
CVE-2026-5358
Key facts: CVE-2026-5358 is a critical severity (CVSS 9.1) vulnerability in The Gnu C Library glibc. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.0%, the estimated probability of exploitation in the next 30 days.
What is CVE-2026-5358?
CVE-2026-5358 is a notable buffer overflow vulnerability within the GNU C Library, specifically impacting the legacy Network Information Service (NIS) functionality. The vulnerability arises from the obsolete nis_local_principal function found in versions 2.43 and older of the library. This function may experience a buffer overflow when processing data from a crafted UDP request, allowing an attacker to potentially spoof responses and overwrite adjacent static data in the application that invokes this function. The GNU C Library serves as a core component for various applications and systems, primarily in providing essential functions for C programs. Given that NIS support has been deprecated since version 2.26 and is retained solely for legacy applications, organizations still relying on this outdated functionality may face significant security risks.
Potential impact of CVE-2026-5358
-
Data Integrity Compromise: Exploiting the buffer overflow could enable an attacker to manipulate or corrupt critical data within the application, leading to erroneous application behavior or data loss.
-
Denial of Service (DoS): By executing crafted payloads, attackers could disrupt normal operations of the software, potentially causing system crashes or unavailability, negatively impacting service reliability.
-
Legacy System Vulnerability: Organizations that have not migrated away from NIS to more modern identity and access management solutions remain particularly vulnerable, increasing their risk exposure and likelihood of being targeted by attackers.
Affected Version(s)
glibc 0 <= 2.43
References
More The Gnu C Library vulnerabilities
- CVE-2026-0915: Memory Leak Vulnerability in GNU C Library Affecting DNS Resolution(HIGH)
- CVE-2025-4802: Untrusted Environment Variable Vulnerability in GNU C Library(HIGH)
- CVE-2025-0395: Buffer Overflow Vulnerability in GNU C Library Affecting Multiple Versions(MEDIUM)
- CVE-2024-2961: Buffer Overflow Vulnerability in GNU C Library's iconv() Function(HIGH)
