Remote denial of service in pycares



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-48945
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
pycares
Client/Desktop applications / Other client software

Vendor saghul

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU112888

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-48945

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error caused by improper handling of callback references when the Channel object is destroyed. A remote attacker can send specially crafted DNS queries to the affected application and perform a denial of service attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

pycares: 4.8.0

CPE2.3 External links

https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4
https://github.com/saghul/pycares/releases/tag/v4.9.0
https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###