CVE-2025-48945

HIGH

pycares <4.9.0 - Use After Free

Title source: llm
STIX 2.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.

Scores

CVSS v4 8.2
EPSS 0.0051
EPSS Percentile 66.4%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (1)
aio-libs/aiodns < 4.9.0
Published Jun 20, 2025
Tracked Since Feb 18, 2026