---
cve: "CVE-2025-48945"
severity: "HIGH"
cvss: 8.2
epss: "43%"
vendor: "aio-libs"
kev: false
exploited: false
published: "2025-06-20 20:15:33"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T02:45:45+02:00"
---

# CVE-2025-48945

> 8.2 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- f259a6e3650555157af53ac2b39f2ff545321d55 (Commit)
- 83533f4d17dd769a5bc0fce6e4c7610b6abde85e (Commit)

## Referenzen

- <https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35>
- <https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55>
- <https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4>
- <https://github.com/aio-libs/aiodns/releases/tag/v3.5.0>
- <https://github.com/saghul/pycares/releases/tag/v4.9.0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-48945) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
