CVE-2025-48945: aio-libs aiodns Use After Free
Vulnerability summary
CVE-2025-48945 is a high (CVSS 8.2) Use After Free vulnerability in aio-libs aiodns. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.7% of scored vulnerabilities.
Timeline
- 20-06-2025PublishedVulnerability first disclosed.
- 20-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS: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
- NVDNIST8.2HighCVSS: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
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
0.00 pp
From 0.48% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse10 products
- python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 4.10.0-150400.9.8.1
- python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 4.10.0-150400.9.8.1
- python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 4.10.0-150400.9.8.1
- python-pycares&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 4.10.0-150400.9.8.1
- python-pycares&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 4.10.0-150400.9.8.1
Opensuse2 products
- python-pycares&distro=openSUSE Leap 15.6< 4.10.0-150400.9.8.1
- python-pycares&distro=openSUSE Tumbleweed< 4.9.0-1.1
Aio-libs1 product
- aiodns< 4.9.0
Debian1 product
- pycaresAll versions (No fix recorded) | < 4.9.0-1
PyPI1 product
- pycares< 4.9.0
Ubuntu1 product
- pycaresAll versions (No fix recorded)
6 vendors · 16 products
References
12 links- github.com/aio-libs/aiodns/releases/tag/v3.5.0X Refsource MISC
- github.com/saghul/pycares/releases/tag/v4.9.0X Refsource MISC
- github.com/saghul/pycaresPACKAGE