{"id":"UBUNTU-CVE-2026-33630","details":"c-ares is an asynchronous resolver library. From ver 1.32.3 until 1.34.7, a use-after-free / double-free in c-ares' query-completion handling. The same flaw — a query's callback being invoked while the query is still linked in the channel's internal lookup structures — is present at multiple points in the resend/finish path (timeout handling, response handling, and query dispatch). If the query, or for ares_getaddrinfo() the owning host_query, is freed as a side effect of that callback, it is then accessed and/or freed a second time. This vulnerability is fixed in ver 1.34.7.","modified":"2026-11-24T14:54:43.027022332Z","published":"2026-09-03T19:17:00Z","related":["USN-8844-1"],"upstream":["CVE-2026-33630"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33630"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-33630"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/07/06/8"},{"type":"REPORT","url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8844-1"}],"affected":[{"package":{"name":"c-ares","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/c-ares?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.34.4-2.1","1.34.5-1","1.34.5-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libc-ares2","binary_version":"1.34.5-1ubuntu0.1"},{"binary_version":"1.34.5-1ubuntu0.1","binary_name":"libcares2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33630.json"}},{"package":{"name":"c-ares","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/c-ares?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34.6-1ubuntu0.1"}]}],"versions":["1.34.5-1","1.34.6-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.34.6-1ubuntu0.1","binary_name":"libc-ares2"},{"binary_name":"libcares2","binary_version":"1.34.6-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33630.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}