CVE-2025-48945 - CVE House
Back to Database
Status published High CVE-2025-48945

pycares has a Use-After-Free Vulnerability

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-48945

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

aiodns
Vulnerable Versions:
< 4.9.0

Timeline

Official Publish: June 20th, 2025
Last Modified: June 20th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)