Upstream information

CVE-2025-31498 at MITRE

Description

c-ares is an asynchronous resolver library. From 1.32.3 through 1.34.4, there is a use-after-free in read_answers() when process_answer() may re-enqueue a query either due to a DNS Cookie Failure or when the upstream server does not properly support EDNS, or possibly on TCP queries if the remote closed the connection immediately after a response. If there was an issue trying to put that new transaction on the wire, it would close the connection handle, but read_answers() was still expecting the connection handle to be available to possibly dequeue other responses. In theory a remote attacker might be able to trigger this by flooding the target with ICMP UNREACHABLE packets if they also control the upstream nameserver and can return a result with one of those conditions, this has been untested. Otherwise only a local attacker might be able to change system behavior to make send()/write() return a failure condition. This vulnerability is fixed in 1.34.5.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 6.5
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact Low
Availability Impact High
CVSSv3 Version 3.1
CVSS v4 Scores
  CNA (GitHub) SUSE
Base Score 8.3 8.3
Vector CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/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 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Attack Vector Network Network
Attack Complexity High Low
Attack Requirements None Present
Privileges Required None None
User Interaction None None
Vulnerable System Confidentiality Impact Low None
Vulnerable System Integrity Impact Low Low
Vulnerable System Availability Impact High High
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1240955 [IN_PROGRESS]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • c-ares-devel >= 1.34.5-1.1
  • c-ares-utils >= 1.34.5-1.1
  • libcares2 >= 1.34.5-1.1
  • libcares2-32bit >= 1.34.5-1.1
Patchnames:
openSUSE-Tumbleweed-2025-14977


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP6 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 c-ares Not affected
SUSE Linux Enterprise Micro 5.1 c-ares Not affected
SUSE Linux Enterprise Micro 5.2 c-ares Not affected
SUSE Linux Enterprise Micro 5.3 c-ares Not affected
SUSE Linux Enterprise Micro 5.4 c-ares Not affected
SUSE Linux Enterprise Micro 5.5 c-ares Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 c-ares Not affected
SUSE Linux Enterprise Server 15 SP6 c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 c-ares Not affected
SUSE Linux Micro 6.0 c-ares Not affected
SUSE Linux Micro 6.1 c-ares Not affected
SUSE Manager Proxy 4.3 c-ares Not affected
SUSE Manager Retail Branch Server 4.3 c-ares Not affected
SUSE Manager Server 4.3 c-ares Not affected
openSUSE Leap 15.6 c-ares Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS c-ares Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 c-ares Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 c-ares Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS c-ares Not affected
SUSE Linux Enterprise Server 15 SP4 c-ares Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS c-ares Not affected
SUSE Linux Enterprise Server 15 SP5 c-ares Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 c-ares Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 c-ares Not affected
SUSE Enterprise Storage 6 c-ares Not affected
SUSE Enterprise Storage 7 c-ares Not affected
SUSE Enterprise Storage 7.1 c-ares Not affected
SUSE Linux Enterprise Desktop 15 c-ares Not affected
SUSE Linux Enterprise Desktop 15 SP1 c-ares Not affected
SUSE Linux Enterprise Desktop 15 SP2 c-ares Not affected
SUSE Linux Enterprise Desktop 15 SP4 c-ares Not affected
SUSE Linux Enterprise Desktop 15 SP5 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS c-ares Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS c-ares Not affected
SUSE Linux Enterprise Module for Basesystem 15 c-ares Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 c-ares Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 c-ares Not affected
SUSE Linux Enterprise Real Time 15 SP2 c-ares Not affected
SUSE Linux Enterprise Real Time 15 SP3 c-ares Not affected
SUSE Linux Enterprise Real Time 15 SP4 c-ares Not affected
SUSE Linux Enterprise Server 15 c-ares Not affected
SUSE Linux Enterprise Server 15 SP1 c-ares Not affected
SUSE Linux Enterprise Server 15 SP1-BCL c-ares Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS c-ares Not affected
SUSE Linux Enterprise Server 15 SP2 c-ares Not affected
SUSE Linux Enterprise Server 15 SP2-BCL c-ares Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS c-ares Not affected
SUSE Linux Enterprise Server 15-LTSS c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 c-ares Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 c-ares Not affected
SUSE Manager Proxy 4.0 c-ares Not affected
SUSE Manager Proxy 4.1 c-ares Not affected
SUSE Manager Proxy 4.2 c-ares Not affected
SUSE Manager Retail Branch Server 4.0 c-ares Not affected
SUSE Manager Retail Branch Server 4.1 c-ares Not affected
SUSE Manager Retail Branch Server 4.2 c-ares Not affected
SUSE Manager Server 4.0 c-ares Not affected
SUSE Manager Server 4.1 c-ares Not affected
SUSE Manager Server 4.2 c-ares Not affected
openSUSE Leap 15.4 c-ares Not affected
openSUSE Leap 15.5 c-ares Not affected
openSUSE Leap Micro 5.2 c-ares Not affected
openSUSE Leap Micro 5.3 c-ares Not affected
openSUSE Leap Micro 5.4 c-ares Not affected
openSUSE Leap Micro 5.5 c-ares Not affected


SUSE Timeline for this CVE

CVE page created: Tue Apr 8 16:00:01 2025
CVE page last modified: Sat Apr 19 18:13:29 2025