{"id":"CVE-2025-48945","published":"2025-06-20T19:14:27Z","modified":"2025-06-20T20:06:23Z","title":"pycares has a Use-After-Free Vulnerability","vendor":"aio-libs","product":"aiodns","tier":"tail","description":{"text":"pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00505,"percentile":0.4408,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55","tags":["x_refsource_MISC"]},{"url":"https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiodns/releases/tag/v3.5.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/saghul/pycares/releases/tag/v4.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":8.82},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiodns","versions":["< 4.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-20T20:05:50.595661Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-28273","exploited":false,"provenance":"source"}}