Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2025-48945

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-20 Jun, 2025 | 19:14
Updated At-20 Jun, 2025 | 20:06
Rejected At-
Credits

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:20 Jun, 2025 | 19:14
Updated At:20 Jun, 2025 | 20:06
Rejected At:
▼CVE Numbering Authority (CNA)
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.

Affected Products
Vendor
aio-libs
Product
aiodns
Versions
Affected
  • < 4.9.0
Problem Types
TypeCWE IDDescription
CWECWE-416CWE-416: Use After Free
Type: CWE
CWE ID: CWE-416
Description: CWE-416: Use After Free
Metrics
VersionBase scoreBase severityVector
4.08.2HIGH
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
Version: 4.0
Base score: 8.2
Base severity: HIGH
Vector:
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
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
x_refsource_CONFIRM
https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
x_refsource_MISC
https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55
x_refsource_MISC
https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4
x_refsource_MISC
https://github.com/aio-libs/aiodns/releases/tag/v3.5.0
x_refsource_MISC
https://github.com/saghul/pycares/releases/tag/v4.9.0
x_refsource_MISC
Hyperlink: https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
Resource:
x_refsource_MISC
Hyperlink: https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55
Resource:
x_refsource_MISC
Hyperlink: https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4
Resource:
x_refsource_MISC
Hyperlink: https://github.com/aio-libs/aiodns/releases/tag/v3.5.0
Resource:
x_refsource_MISC
Hyperlink: https://github.com/saghul/pycares/releases/tag/v4.9.0
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:20 Jun, 2025 | 20:15
Updated At:23 Jun, 2025 | 20:16

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.08.2HIGH
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
Type: Secondary
Version: 4.0
Base score: 8.2
Base severity: HIGH
Vector:
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
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-416Primarysecurity-advisories@github.com
CWE ID: CWE-416
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55security-advisories@github.com
N/A
https://github.com/aio-libs/aiodns/releases/tag/v3.5.0security-advisories@github.com
N/A
https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4security-advisories@github.com
N/A
https://github.com/saghul/pycares/releases/tag/v4.9.0security-advisories@github.com
N/A
https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35security-advisories@github.com
N/A
https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35security-advisories@github.com
N/A
Hyperlink: https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/aio-libs/aiodns/releases/tag/v3.5.0
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/saghul/pycares/releases/tag/v4.9.0
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
Source: security-advisories@github.com
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found