Vulnerability

CVE-2025-48945

highCVSS 4.0 8.2Published 20 Jun 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff5453…
  • github.com /aio-libs/aiodns/releases/tag/v3.5.0
  • github.com /saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db5…
  • github.com /saghul/pycares/releases/tag/v4.9.0
  • github.com /saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning