Skip to main content

GNU C Library (glibc) CVE-2026-5358

| EUVDEUVD-2026-23977 CRITICAL
Classic Buffer Overflow (CWE-120)
2026-04-20 glibc
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Position on network segment
  2. Delivery
    Monitor for NIS UDP queries
  3. Exploit
    Craft oversized response packet
  4. Install
    Race legitimate server reply
  5. C2
    Trigger buffer overflow in nis_local_principal
  6. Execute
    Overwrite adjacent static data
  7. Impact
    Corrupt application logic or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three specific conditions: First, the target application must link against glibc and actively call the deprecated nis_local_principal function during execution - this function is not invoked by default and requires explicit use of obsolete NIS authentication APIs. Second, the application must be configured to use NIS for identity lookups (typically via /etc/nsswitch.conf containing 'passwd: compat nis' or similar), meaning the vulnerability only affects environments with active NIS deployments. Third, the attacker must have network position to intercept or observe UDP traffic between the victim and the NIS server on port 111 or dynamic high ports, and win the race condition to deliver a spoofed response before the legitimate server - this requires either local network access, compromised network infrastructure (ARP poisoning, rogue DHCP), or upstream routing control. Factors limiting exploitation: most modern Linux distributions default to LDAP or SSSD rather than NIS, and many applications have migrated away from the deprecated NIS API. Remote internet-based exploitation is unlikely as NIS traffic is typically confined to internal networks.

Impact

Real-world risk is significantly lower than the 9.1 CVSS base score suggests. While the CVSS vector indicates network-accessible unauthenticated exploitation (AV:N/AC:L/PR:N/UI:N), multiple factors reduce practical risk: First, exploitation requires the target application to actively call the deprecated nis_local_principal function, which has been obsolete for seven years and is rare in modern deployments. Second, the attacker must be positioned to intercept and spoof UDP responses to the victim's NIS queries (man-in-the-middle or on-path position), not simply send unsolicited packets. Third, EPSS score of 0.02% (5th percentile) indicates security researchers and attackers view this as low exploitation probability, likely due to the narrow attack surface. The SSVC framework would classify this as 'scheduled' priority rather than immediate: exploitation status is 'none' (no KEV listing, no POC), but technical impact is 'total' (arbitrary memory corruption in calling process). Organizations still running NIS-dependent applications face genuine risk and should prioritize migration over patching this specific CVE.

Exploit ScenarioDerived

An attacker on the same network segment or with man-in-the-middle position monitors for NIS queries from a legacy enterprise application that calls nis_local_principal during user authentication. When the target application sends a UDP request to the NIS server, the attacker races to deliver a spoofed response packet containing oversized data before the legitimate server reply arrives. The malformed response triggers a buffer overflow in the glibc function, overwriting adjacent static variables in the application's data section with attacker-controlled values. Depending on what variables are corrupted, the attacker could bypass authentication checks, alter program logic, or cause application crash. No public proof-of-concept code identified at time of analysis, but the attack technique aligns with well-understood UDP spoofing and buffer overflow exploitation methods.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Buffer overflow in glibc's obsolete NIS authentication function allows remote attackers to compromise integrity and availability via spoofed UDP responses. Affects all glibc versions through 2.43, but exploitation requires the target application to actively use the deprecated nis_local_principal function (obsolete since glibc 2.26). EPSS score of 0.02% (5th percentile) indicates low real-world exploitation probability, consistent with the narrow attack surface of legacy NIS deployments. No active exploitation or public exploit code identified at time of analysis.

RemediationAI

Primary fix: Upgrade to glibc version 2.44 or later once released (check https://sourceware.org/bugzilla/show_bug.cgi?id=34067 for patch status and release timeline). Most distributions will issue updated glibc packages through their security update channels. If immediate patching is not feasible and the application genuinely requires NIS functionality, implement network-level mitigations: restrict NIS traffic to dedicated management VLANs using firewall rules blocking UDP ports 111 (portmapper) and dynamically-assigned NIS ports from untrusted networks. Deploy static ARP entries and port security on switches to prevent ARP spoofing attacks that enable UDP response interception. Monitor for anomalous NIS traffic patterns. Long-term remediation: migrate away from NIS entirely to modern identity management solutions like FreeIPA with SSSD (Red Hat/CentOS/Fedora), LDAP with Kerberos authentication, Active Directory integration via Samba/Winbind, or cloud-based directory services (Azure AD, Okta). Note that network isolation trades off operational complexity and may break legitimate NIS functionality if not carefully scoped.

Affected VersionsENISA

glibc 0 ≤2.43

Affected Packages

euvd glibc no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The nis_local_principal function is part of glibc's Network Information Service (NIS) implementation, a legacy client-server directory service protocol dating from the 1980s that operates over UDP. This function handles principal name resolution for NIS authentication requests. The vulnerability (CWE-120: Buffer Copy without Checking Size of Input) occurs when the function receives a crafted UDP response packet that exceeds the allocated buffer in the data section, allowing an attacker positioned on the network path to overwrite adjacent static variables in the calling application's memory space. NIS has been deprecated in glibc since version 2.26 (released 2017) due to fundamental security limitations including lack of encryption and weak authentication, yet remains compiled-in for legacy compatibility. Modern applications should use LDAP, Kerberos, SSSD, or cloud-based identity services instead.

Know when Glibc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 02:30 nvd
Patch available
CVSS changed
Apr 21, 2026 - 20:22 NVD
9.1 (CRITICAL)
CVE Published
Apr 20, 2026 - 20:37 nvd
CRITICAL 9.1

DescriptionCVE.org

The obsolete nis_local_principal function in the GNU C Library version 2.43 and older may overflow a buffer in the data section, which could allow an attacker to spoof a crafted response to a UDP request generated by this function and overwrite neighboring static data in the requesting application.

NIS support is obsolete and has been deprecated in the GNU C Library since version 2.26 and is only maintained for legacy usage. Applications should port away from NIS to more modern identity and access management services.

Executive ViewAI

Why It Matters

CVE-2026-5358 is a critical buffer overflow in glibc's obsolete NIS authentication function that could allow remote attackers to compromise system integrity and availability through crafted UDP responses. However, exploitation is limited to legacy systems still actively using the deprecated nis_local_principal function-a rare configuration in modern deployments-and no active exploitation has been observed. Organizations should assess whether any production systems depend on this obsolete authentication method before implementing mitigations.

Business Impact: Low
Compensating Controls

Network-based mitigations: restrict inbound UDP traffic (port 111) and NIS-related services to trusted networks only. Application-level: disable or remove NIS authentication where possible and transition to modern alternatives. Monitor for exploitation attempts targeting deprecated NIS functions. No vendor-released patch identified at time of analysis; monitor glibc security advisories for patch availability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Low
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Glibc

View all
CVE-2023-4911 HIGH POC
7.8 Oct 03

Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected

CVE-2015-0235 CRITICAL POC
10.0 Jan 28

Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,

CVE-2024-2961 HIGH POC
7.3 Apr 17

The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4

CVE-2015-7547 HIGH POC
8.1 Feb 18

Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C

CVE-2023-6246 HIGH POC
8.4 Jan 31

Local privilege escalation in GNU glibc 2.36 and newer arises from a heap-based buffer overflow in __vsyslog_internal, r

CVE-2014-5119 HIGH POC
7.5 Aug 29

Off-by-one error in the __gconv_translit_find function in gconv_trans.c in GNU C Library (aka glibc) allows context-depe

CVE-2012-4412 HIGH POC
7.5 Oct 09

Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-depende

CVE-2018-1000001 HIGH POC
7.8 Jan 31

In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before th

CVE-2019-9169 CRITICAL POC
9.8 Feb 26

In the GNU C Library (aka glibc or libc6) through 2.29, proceed_next_node in posix/regexec.c has a heap-based buffer ove

CVE-2019-1010022 CRITICAL POC
9.8 Jul 15

GNU Libc current is affected by: Mitigation bypass. Rated critical severity (CVSS 9.8), this vulnerability is remotely e

CVE-2021-33574 CRITICAL POC
9.8 May 25

The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. Rated critical seve

CVE-2023-25139 CRITICAL POC
9.8 Feb 03

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Fixed
SLES15-SP6-CHOST-BYOS Fixed
SLES15-SP6-CHOST-BYOS-Aliyun Fixed
SLES15-SP6-CHOST-BYOS-Azure Fixed
SLES15-SP6-CHOST-BYOS-EC2 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy