{"schemaVersion":3,"id":"CVE-2025-48945","aliases":["SUSE-SU-2025:03354-1","GHSA-5qpg-rh4j-qp35","UBUNTU-CVE-2025-48945","DEBIAN-CVE-2025-48945","openSUSE-SU-2025:15324-1"],"status":"published","duplicateOf":null,"title":null,"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 has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.","dates":{"published":"2025-06-20T19:14:27.403Z","modified":"2025-06-20T20:06:23.612Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.2,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.2,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":8.2,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.2,"severity":"high","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00484,"percentile":0.40701,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00484},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00484,"percentile":0.40701}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00484,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00484,"percentile":0.40701}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"aio-libs","product":"aiodns","name":"aiodns","label":"aiodns","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9.0","eol":null,"hubHref":"/vendor/aio-libs/aiodns"},{"vendor":"debian","product":"pycares","name":"pycares","label":"pycares","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pycares","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.9.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.9.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pycares","name":"pycares","label":"pycares","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pycares","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pycares","name":"pycares","label":"pycares","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pycares","purlType":"pypi","versions":[{"text":"< 4.9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9.0","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-pycares&distro=openSUSE Leap 15.6","name":"python-pycares","label":"python-pycares&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-pycares&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-pycares&distro=openSUSE Tumbleweed","name":"python-pycares","label":"python-pycares&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-pycares&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.9.0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9.0-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP6","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP6","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise Server 15 SP4-LTSS","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise Server 15 SP4-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise Server 15 SP4-LTSS","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise Server 15 SP5-LTSS","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise Server 15 SP5-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise Server 15 SP5-LTSS","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP4","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-pycares&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP5","name":"python-pycares","label":"python-pycares&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-pycares&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP5","purlType":"rpm","versions":[{"text":"< 4.10.0-150400.9.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-150400.9.8.1","eol":null,"hubHref":null}],"affectedCount":16,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35","label":"github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT"]},{"url":"https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55","label":"github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4","label":"github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/aio-libs/aiodns/releases/tag/v3.5.0","label":"github.com/aio-libs/aiodns/releases/tag/v3.5.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/saghul/pycares/releases/tag/v4.9.0","label":"github.com/saghul/pycares/releases/tag/v4.9.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202503354-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-202503354-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1244691","label":"bugzilla.suse.com/1244691","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2025-48945","label":"www.suse.com/security/cve/CVE-2025-48945","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://github.com/saghul/pycares","label":"github.com/saghul/pycares","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2025-48945","label":"ubuntu.com/security/CVE-2025-48945","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-48945","label":"www.cve.org/CVERecord?id=CVE-2025-48945","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-48945","label":"security-tracker.debian.org/tracker/CVE-2025-48945","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-06-20T19:14:27.403Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-20T20:06:23.612Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:44:20.682Z","stale":false,"partial":false}}