{"api_version":"1","generated_at":"2026-04-21T10:51:11+00:00","cve":"CVE-2026-5358","urls":{"html":"https://cve.report/CVE-2026-5358","api":"https://cve.report/api/cve/CVE-2026-5358.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5358","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5358"},"summary":{"title":"Static buffer overflow in deprecated nis_local_principal","description":"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.\n\nNIS 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.","state":"PUBLISHED","assigner":"glibc","published_at":"2026-04-20 21:16:36","updated_at":"2026-04-20 21:16:36"},"problem_types":["CWE-120","CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"],"metrics":[],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=34067","name":"https://sourceware.org/bugzilla/show_bug.cgi?id=34067","refsource":"3ff69d7a-14f2-4f67-a097-88dee7810d18","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5358","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5358","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"The GNU C Library","product":"glibc","version":"affected 2.43 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Rahul Hoysala","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"glibc","vendor":"The GNU C Library","versions":[{"lessThanOrEqual":"2.43","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"Rahul Hoysala"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<br><br>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."}],"value":"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.\n\nNIS 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."}],"impacts":[{"capecId":"CAPEC-8","descriptions":[{"lang":"en","value":"CAPEC-8 Buffer Overflow in an API Call"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-20T20:37:23.178Z","orgId":"3ff69d7a-14f2-4f67-a097-88dee7810d18","shortName":"glibc"},"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=34067"}],"source":{"discovery":"UNKNOWN"},"title":"Static buffer overflow in deprecated nis_local_principal","x_generator":{"engine":"Vulnogram 1.0.1"}}},"cveMetadata":{"assignerOrgId":"3ff69d7a-14f2-4f67-a097-88dee7810d18","assignerShortName":"glibc","cveId":"CVE-2026-5358","datePublished":"2026-04-20T20:37:23.178Z","dateReserved":"2026-04-01T17:07:51.437Z","dateUpdated":"2026-04-20T20:37:23.178Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-20 21:16:36","lastModifiedDate":"2026-04-20 21:16:36","problem_types":["CWE-120","CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"5358","Ordinal":"1","Title":"Static buffer overflow in deprecated nis_local_principal","CVE":"CVE-2026-5358","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"5358","Ordinal":"1","NoteData":"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.\n\nNIS 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.","Type":"Description","Title":"Static buffer overflow in deprecated nis_local_principal"}]}}}