Security mailing lists by PureSourceCode

CVE-2025-48945

HIGH 8.2CVSS 4.0

pycares has a Use-After-Free Vulnerability

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.

Published
20 Jun 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-416
Also known as
GHSA-5qpg-rh4j-qp35
Sources
NVDJSONOSV GHSA-5qpg-rh4j-qp35JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.2 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI pycares < 4.9.0 4.9.0

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 Jun 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.