High severityOSV Advisory· Published Jun 20, 2025· Updated Jun 17, 2026
CVE-2025-48945
CVE-2025-48945
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
14- osv-coords12 versionspkg:rpm/opensuse/python-pycares&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/python-pycares&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP6pkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7pkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/python-pycares&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5
< 4.10.0-150400.9.8.1+ 11 more
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.9.0-1.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
- (no CPE)range: < 4.10.0-150400.9.8.1
Patches
Vulnerability mechanics
References
5- github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55nvd
- github.com/aio-libs/aiodns/releases/tag/v3.5.0nvd
- github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4nvd
- github.com/saghul/pycares/releases/tag/v4.9.0nvd
- github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35nvd
News mentions
0No linked articles in our index yet.