{"id":"CVE-2026-8674","aliases":["CVE-2026-8674"],"related":[],"kind":"vulnerability","state":"published","title":"Assertion failure in the DNS stub resolver with a long search domain","summary":"Initializing the DNS stub resolver from an /etc/resolv.conf file, or a LOCALDOMAIN environment variable, whose search list contains a domain of roughly 200 characters or more in the GNU C Library version 2.26 to 2.44 results in an assertion failure which aborts the process.\n\nThe resolver truncates the search list when copying it into the fixed-size _res.defdname buffer, then asserts that the copy is consistent with the full configuration.  The consistency check compared against the wrong size and did not handle a first entry that does not fit, so a correctly truncated list failed the assertion.  Any process that resolves names through the library is affected, including long-running processes that reload /etc/resolv.conf on the next query after it changes.  Search domains are commonly written to /etc/resolv.conf from data received over DHCP or from a VPN server, so an attacker on the local network may be able to trigger this without privileges on the target system, subject to validation by the network configuration software.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Initializing the DNS stub resolver from an /etc/resolv.conf file, or a LOCALDOMAIN environment variable, whose search list contains a domain of roughly 200 characters or more in the GNU C Library version 2.26 to 2.44 results in an assertion failure which aborts the process.\n\nThe resolver truncates the search list when copying it into the fixed-size _res.defdname buffer, then asserts that the copy is consistent with the full configuration.  The consistency check compared against the wrong size and did not handle a first entry that does not fit, so a correctly truncated list failed the assertion.  Any process that resolves names through the library is affected, including long-running processes that reload /etc/resolv.conf on the next query after it changes.  Search domains are commonly written to /etc/resolv.conf from data received over DHCP or from a VPN server, so an attacker on the local network may be able to trigger this without privileges on the target system, subject to validation by the network configuration software.","source":"cvelist"}],"published":"2026-09-17T16:54:27.310Z","modified":"2026-09-18T18:17:47.257Z","severity":{"scorer":"glibc","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"glibc","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-617"],"affected":[{"ranges":[{"type":"custom","introduced":"2.26","lastAffected":"2.44","status":"affected"}],"vendor":"The GNU C Library","product":"glibc","source":"cvelist"}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=31026","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0021","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://sourceware.org/git/?p=glibc.git;a=commit;h=506ea57086bfb9ce3daff1c14246a1cb532aba0a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://joshua.hu/fuzzing-glibc-libresolv","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/17/4","tags":[],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers"],"assigner":"glibc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-17T18:05:54.714Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8674","url":"https://www.cve.org/CVERecord?id=CVE-2026-8674","licence":"CVE Terms of Use","modified":"2026-09-17T18:09:16.072Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8674","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8674","licence":"Public domain","modified":"2026-09-18T18:17:47.257Z"}],"updatedAt":"2026-11-25T22:59:39.284Z","epss":{"score":0.00315,"percentile":0.26357,"date":"2026-12-01T12:00:22.000Z"}}