{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-31498","published":"2025-04-08T14:15:35.293000Z","last_modified":"2026-06-17T09:10:30.347000Z","status":"Deferred","cvss":{"version":"4.0","score":8.3,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-416"],"cpes":[],"cpes_truncated":false,"vendors":["c-ares"],"products":["c-ares/c-ares"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":65,"links":{"html_es":"/es/cve/CVE-2025-31498/","html_en":"/en/cve/CVE-2025-31498/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-31498","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-31498"},"untrusted":{"vendor_name":"c-ares","product_name":"c-ares","desc_en":"c-ares is an asynchronous resolver library. From 1.32.3 through 1.34.4, there is a use-after-free in read_answers() when process_answer() may re-enqueue a query either due to a DNS Cookie Failure or when the upstream server does not properly support EDNS, or possibly on TCP queries if the remote closed the connection immediately after a response. If there was an issue trying to put that new transaction on the wire, it would close the connection handle, but read_answers() was still expecting the connection handle to be available to possibly dequeue other responses. In theory a remote attacker might be able to trigger this by flooding the target with ICMP UNREACHABLE packets if they also control the upstream nameserver and can return a result with one of those conditions, this has been untested. Otherwise only a local attacker might be able to change system behavior to make send()/write() return a failure condition. This vulnerability is fixed in 1.34.5.","affected":[{"untrusted_vendor":"c-ares","untrusted_product":"c-ares","versions":[]}],"references":[{"url":"https://github.com/c-ares/c-ares/commit/29d38719112639d8c0ba910254a3dd4f482ea2d1","tags":[]},{"url":"https://github.com/c-ares/c-ares/pull/821","tags":[]},{"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-6hxc-62jh-p29v","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/04/08/3","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:4021-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264021-1/","published":"2026-09-07T07:42:20+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for c-ares"}},{"source":"suse","id":"SUSE-SU-2026:23414-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623414-1/","published":"2026-08-31T19:41:34+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for c-ares"}},{"source":"suse","id":"SUSE-SU-2026:23364-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623364-1/","published":"2026-08-28T11:28:12+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for c-ares"}}]}