{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-48945","id":"CVE-2025-48945","title":"pycares has a Use-After-Free Vulnerability","description":"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 ha","descriptionLong":"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.","published":"2025-06-20T19:14:27.403Z","updated":"2026-10-28T02:30:35.849843307Z","reserved":"2025-05-28T18:49:07.582Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.2,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.2,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.2,"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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"high","products":["aio-libs aiodns"],"affectedProducts":[{"vendor":"aio-libs","product":"aiodns","defaultStatus":null,"versions":[{"version":"< 4.9.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pycares","purl":"pkg:pypi/pycares","ranges":["<4.9.0"],"fixed":["4.9.0"],"advisory":"GHSA-5qpg-rh4j-qp35"}],"cwes":["CWE-416"],"aliases":["GHSA-5qpg-rh4j-qp35"],"references":[{"url":"https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35","tags":["x_refsource_CONFIRM","x_refsource_MISC","advisory","web"]},{"url":"https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/aio-libs/aiodns/releases/tag/v3.5.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/saghul/pycares/releases/tag/v4.9.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48945.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48945","tags":["advisory"]},{"url":"https://github.com/saghul/pycares","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00505,"epssPercentile":0.43862,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-48945","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48945","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-48945","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5qpg-rh4j-qp35","ok":true,"note":"GHSA-5qpg-rh4j-qp35"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-48945","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}