CVE-2026-5358 PUBLISHED

Static buffer overflow in deprecated nis_local_principal

Assigner: glibc
Reserved: 01.04.2026 Published: 20.04.2026 Updated: 20.04.2026

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.

Product Status

Vendor The GNU C Library
Product glibc
Versions Default: unaffected
  • affected from 0 to 2.43 (incl.)

Credits

  • Rahul Hoysala finder

References

Problem Types

  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') CWE

Impacts

  • CAPEC-8 Buffer Overflow in an API Call