CVE-2026-8674

Source
https://cve.org/CVERecord?id=CVE-2026-8674
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8674.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-8674
Downstream
Published
2026-09-17T16:54:27Z
Modified
2026-09-18T03:48:34Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Assertion failure in the DNS stub resolver with a long search domain
Details

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.

The 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.

Database specific
{
    "cna_assigner": "glibc",
    "cwe_ids": [
        "CWE-617"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8674.json"
}
References

Affected packages

Git / sourceware.org/git/glibc.git

Affected ranges

Type
GIT
Repo
https://sourceware.org/git/glibc.git
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.26"
        },
        {
            "last_affected": "2.44"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

Other
changelog-ends-here
glibc-2.*
glibc-2.26
glibc-2.26.9000
glibc-2.27
glibc-2.27.9000
glibc-2.28
glibc-2.28.9000
glibc-2.29
glibc-2.29.9000
glibc-2.30
glibc-2.30.9000
glibc-2.31
glibc-2.31.9000
glibc-2.32
glibc-2.32.9000
glibc-2.33
glibc-2.33.9000
glibc-2.34
glibc-2.34.9000
glibc-2.35
glibc-2.35.9000
glibc-2.36
glibc-2.36.9000
glibc-2.37
glibc-2.37.9000
glibc-2.38
glibc-2.38.9000
glibc-2.39
glibc-2.39.9000
glibc-2.40
glibc-2.40.9000
glibc-2.41
glibc-2.41.9000
glibc-2.42
glibc-2.42.9000
glibc-2.43
glibc-2.43.9000
glibc-2.44

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8674.json"