ADVISORIES

Azure Linux Advisory

AZL-67074

CVE-2025-48945 affecting package python3-pycares 4.5.0-1

No fix available CVE-2025-48945

Details

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.

Affected packages

EcosystemPackageAffected versions
Azure Linux:3python3-pycares
All versions up to and including 4.5.0-1

References