Use of uninitialized resource in c-ares - #VU156254

 

Use of uninitialized resource in c-ares - #VU156254

Published: October 20, 2026


Vulnerability identifier: #VU156254
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-908
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to potentially disclose sensitive information and cause applications to use incorrect network addresses.

The vulnerability exists due to use of uninitialized stack memory in c-ares when parsing numeric IPv6 names containing a prefix length. A remote attacker can supply a crafted name such as ::1/0 to cause ares_inet_pton() to report success after initializing only the bytes covered by the prefix, allowing ares_getaddrinfo() or ares_gethostbyname() to return an address containing uninitialized stack data.

The crafted names cannot originate from a DNS reply.


Affected software

c-ares

Remediation

Install security update from vendor's website.

c-ares - update to 1.34.9

External References

Related Security Bulletins