pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending.
Full advisory text at GitHub advisory.
pycares (pypi) has 2 known vulnerabilities, the worst rated MODERATE. Upgrade to 4.9.0 or later to clear all of them. No malicious-package signal is recorded.
No published models are known to use this package.
severity band, no base score published
chance of exploitation in 30 days
CyberXYZ composite out of 10
fig. 01 — GHSA-5qpg-rh4j-qp35, the advisory selected below
pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending.
Full advisory text at GitHub advisory.
CyberXYZ does not call a package safe in absolute terms. It records 2 known vulnerabilities for pycares (pypi), the worst rated MODERATE, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Yes. CyberXYZ records 2 known vulnerabilities for pycares (pypi), the worst rated MODERATE. They are GHSA-5qpg-rh4j-qp35, GHSA-c58j-88f5-h53f.
4.9.0 or later clears every advisory recorded for pycares (pypi). Check the release you pick before installing it.
Search pycares in CyberXYZ Check at https://cyberxyz.io/check?q=pycares. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 11:00 UTC. The most recent advisory here was published 2025-06-16. Updated continuously from NVD, GHSA, OSV and CNA feeds.