ADVISORIES

Vulnerability

CVE-2025-48945

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.

12 advisories report this vulnerability, across 7 ecosystems.

Advisories in openEuler

  • OESA-2025-1810

    python-pycares security update

    Medium CVE-2025-48945 openEuler Updated 18 August 2026
  • OESA-2025-1811

    python-pycares security update

    Medium CVE-2025-48945 openEuler Updated 18 August 2026
  • OESA-2025-1812

    python-pycares security update

    Medium CVE-2025-48945 openEuler Updated 18 August 2026
  • OESA-2025-1813

    python-pycares security update

    Medium CVE-2025-48945 openEuler Updated 18 August 2026
  • OESA-2025-1858

    python-pycares security update

    Medium CVE-2025-48945 openEuler Updated 18 August 2026

References