CVE-2025-48945
published high CVSS 4.0 · 8.2pycares has a Use-After-Free Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| aio-libs | — | aiodns< 4.9.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP4 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
Show 33 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-pycaresaarch64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-pycaresppc64le | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-pycaress390x | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-pycaresx86_64 | Advisory build | 4.10.0-150400.9.8.1 | SUSE-SU-2025:03354-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pycaresaarch64 | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pycaresppc64le | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pycaress390x | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pycaresx86_64 | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pycaresaarch64 | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pycaresppc64le | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pycaress390x | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pycaresx86_64 | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pycaresaarch64 | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pycaresppc64le | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pycaress390x | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pycaresx86_64 | Advisory build | 4.9.0-1.1 | OPENSUSE-SU-2025:15324-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| aio-libs | aiodns | < 4.9.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
5- https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55
- https://github.com/aio-libs/aiodns/releases/tag/v3.5.0
- https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4
- https://github.com/saghul/pycares/releases/tag/v4.9.0
- https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
Provider assertions
2GitHub_M · cna
pycares has a Use-After-Free Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a7d00f05d4025b00c0494a8a7853efdc2327de1667263ae0ebd9bbba8421e0fd
- Ingested
- 23 Sep 2026, 08:50:57 UTC
- Source record
- Official CVE record