BreachSpiderVerified, not vibes

CVE-2025-48945 in Ares products

No CVSS score published

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 pendin...

Affects 0 products from 4 vendors. Facts below cite their sources.

CVSS v48.2
EPSS0.9%
EPSS percentile56th
FixUnknown

Affected products and versions

VendorProductAffected versions
Ares — —
C-Ares — —
Python — —
Safe — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-48945
BreachSpider IDBS-2025-GLOBAL-038636-I
Published2025-06-20
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

pycares versions prior to 4.9.0 are vulnerable to a use-after-free condition leading to a fatal Python error and interpreter crash when a Channel object is garbage collected while DNS queries are still pending.

An attacker could exploit this vulnerability by causing a Channel object to be garbage collected while DNS queries are still pending, resulting in a use-after-free condition. This could potentially lead to a denial of service or, in some cases, arbitrary code execution, depending on the memory state.

Questions

What is CVE-2025-48945?

pycares versions prior to 4.9.0 are vulnerable to a use-after-free condition leading to a fatal Python error and interpreter crash when a Channel object is garbage collected while DNS queries are still pending.

Is CVE-2025-48945 actively exploited?

No confirmed active exploitation of CVE-2025-48945 as of 2026-05-30.

How do I remediate CVE-2025-48945?

Priority: HIGH.

What systems are affected by CVE-2025-48945?

CVE-2025-48945 affects Ares; C-Ares; Python; Safe.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ares","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.