Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-31498

Fixed in a distro release EPSS <1%CVSS 8.3

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.

Published 2025-04-08 · CVE record · OSV

Products: c-ares

Distro releases

ReleasePackageFixed in
AlmaLinux 10nodejs1:22.15.0-1.el10_0
AlmaLinux 10nodejs-devel1:22.15.0-1.el10_0
AlmaLinux 10nodejs-docs1:22.15.0-1.el10_0
AlmaLinux 10nodejs-full-i18n1:22.15.0-1.el10_0
AlmaLinux 10nodejs-libs1:22.15.0-1.el10_0
AlmaLinux 10nodejs-npm1:10.9.2-1.22.15.0.1.el10_0
AlmaLinux 8nodejs1:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux 8nodejs1:20.19.1-1.module_el8.10.0+3987+dbda4426
AlmaLinux 8nodejs-devel1:20.19.1-1.module_el8.10.0+3987+dbda4426
AlmaLinux 8nodejs-devel1:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux 8nodejs-docs1:20.19.1-1.module_el8.10.0+3987+dbda4426
AlmaLinux 8nodejs-docs1:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux 8nodejs-full-i18n1:20.19.1-1.module_el8.10.0+3987+dbda4426
AlmaLinux 8nodejs-full-i18n1:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux 8nodejs-libs1:22.15.0-1.module_el8.10.0+3986+a908e756
AlmaLinux 8nodejs-nodemon3.0.1-1.module_el8.10.0+3982+85c136aa
AlmaLinux 8nodejs-nodemon3.0.1-1.module_el8.10.0+3983+391a1a04
AlmaLinux 8nodejs-packaging2021.06-4.module_el8.10.0+3987+dbda4426
AlmaLinux 8nodejs-packaging2021.06-4.module_el8.10.0+3961+6a788e57
AlmaLinux 8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3958+472a6467
AlmaLinux 8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3961+6a788e57
AlmaLinux 8npm1:10.8.2-1.20.19.1.1.module_el8.10.0+3987+dbda4426
AlmaLinux 8npm1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756
AlmaLinux 8v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756
AlmaLinux 9nodejs1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux 9nodejs1:20.19.1-1.module_el9.6.0+163+d268fe53
AlmaLinux 9nodejs-devel1:20.19.1-1.module_el9.6.0+163+d268fe53
AlmaLinux 9nodejs-devel1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux 9nodejs-docs1:20.19.1-1.module_el9.6.0+163+d268fe53
AlmaLinux 9nodejs-docs1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux 9nodejs-full-i18n1:20.19.1-1.module_el9.6.0+163+d268fe53
AlmaLinux 9nodejs-full-i18n1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux 9nodejs-libs1:22.15.0-1.module_el9.6.0+164+2d89b8ed
AlmaLinux 9nodejs-nodemon3.0.1-1.module_el9.5.0+139+09296491
AlmaLinux 9nodejs-nodemon3.0.1-1.module_el9.5.0+125+8dc38870
AlmaLinux 9nodejs-packaging2021.06-4.module_el9.6.0+162+8dc602e5
AlmaLinux 9nodejs-packaging2021.06-4.module_el9.5.0+139+09296491
AlmaLinux 9nodejs-packaging-bundler2021.06-4.module_el9.6.0+162+8dc602e5
AlmaLinux 9nodejs-packaging-bundler2021.06-4.module_el9.5.0+139+09296491
AlmaLinux 9npm1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8ed
AlmaLinux 9npm1:10.8.2-1.20.19.1.1.module_el9.6.0+163+d268fe53
AlmaLinux 9v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8ed
Alpine 3.21c-ares1.34.5-r0
Alpine 3.22c-ares1.34.5-r0
Alpine 3.23c-ares1.34.5-r0
Alpine 3.24c-ares1.34.5-r0
Amazon Linux 2023nodejs201:20.19.0-1.amzn2023.0.1
Amazon Linux 2023nodejs20-devel1:20.19.0-1.amzn2023.0.1
Amazon Linux 2023nodejs20-docs1:20.19.0-1.amzn2023.0.1
Amazon Linux 2023nodejs20-full-i18n1:20.19.0-1.amzn2023.0.1
Amazon Linux 2023nodejs20-libs1:20.19.0-1.amzn2023.0.1
Amazon Linux 2023nodejs20-npm1:10.8.2-1.20.19.0.1.amzn2023.0.1
Amazon Linux 2023v8-11.3-devel3:11.3.244.8-1.20.19.0.1.amzn2023.0.1
Debian 13c-ares1.34.5-1
Debian 14c-ares1.34.5-1
Red Hat Enterprise Linux 10.0nodejs1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-debuginfo1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-devel1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-docs1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-full-i18n1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-libs1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-libs-debuginfo1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs-npm1:10.9.2-1.22.15.0.1.el10_0
Red Hat Enterprise Linux 10.0nodejs221:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs22-debuginfo1:22.15.0-1.el10_0
Red Hat Enterprise Linux 10.0nodejs22-debugsource1:22.15.0-1.el10_0
Red Hat Enterprise Linux 8nodejs1:20.19.1-1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8nodejs1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-debuginfo1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-debuginfo1:20.19.1-1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8nodejs-debugsource1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-debugsource1:20.19.1-1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8nodejs-devel1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-devel1:20.19.1-1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8nodejs-docs1:20.19.1-1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8nodejs-docs1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-full-i18n1:20.19.1-1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8nodejs-full-i18n1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-libs1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-libs-debuginfo1:22.15.0-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+22904+d0fedeff
Red Hat Enterprise Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+22904+d0fedeff
Red Hat Enterprise Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+22904+d0fedeff
Red Hat Enterprise Linux 8nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8npm1:10.9.2-1.22.15.0.1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 8npm1:10.8.2-1.20.19.1.1.module+el8.10.0+23054+5431297f
Red Hat Enterprise Linux 8v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module+el8.10.0+23068+28ff2340
Red Hat Enterprise Linux 9nodejs1:20.19.1-1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9nodejs1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-debuginfo1:20.19.1-1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9nodejs-debuginfo1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-debugsource1:20.19.1-1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9nodejs-debugsource1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-devel1:20.19.1-1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9nodejs-devel1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-docs1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-docs1:20.19.1-1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9nodejs-full-i18n1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-full-i18n1:20.19.1-1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9nodejs-libs1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-libs-debuginfo1:22.15.0-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-nodemon0:3.0.1-1.module+el9.3.0.z+20478+84a9f781
Red Hat Enterprise Linux 9nodejs-nodemon0:3.0.1-1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-packaging0:2021.06-4.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-packaging0:2021.06-4.module+el9.3.0+19518+63aad52d
Red Hat Enterprise Linux 9nodejs-packaging-bundler0:2021.06-4.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9nodejs-packaging-bundler0:2021.06-4.module+el9.3.0+19518+63aad52d
Red Hat Enterprise Linux 9npm1:10.9.2-1.22.15.0.1.module+el9.6.0+23062+9e7801b9
Red Hat Enterprise Linux 9npm1:10.8.2-1.20.19.1.1.module+el9.6.0+23053+4195b0b2
Red Hat Enterprise Linux 9v8-12.4-devel3:12.4.254.21-1.22.15.0.1.module+el9.6.0+23062+9e7801b9
Red Hat rhel eus 9.4nodejs1:20.18.2-2.module+el9.4.0+23089+aaa18a20
Red Hat rhel eus 9.4nodejs-debuginfo1:20.18.2-2.module+el9.4.0+23089+aaa18a20
Red Hat rhel eus 9.4nodejs-debugsource1:20.18.2-2.module+el9.4.0+23089+aaa18a20
Red Hat rhel eus 9.4nodejs-devel1:20.18.2-2.module+el9.4.0+23089+aaa18a20
Red Hat rhel eus 9.4nodejs-docs1:20.18.2-2.module+el9.4.0+23089+aaa18a20
Red Hat rhel eus 9.4nodejs-full-i18n1:20.18.2-2.module+el9.4.0+23089+aaa18a20
Red Hat rhel eus 9.4nodejs-nodemon0:3.0.1-1.module+el9.3.0.z+20478+84a9f781
Red Hat rhel eus 9.4nodejs-packaging0:2021.06-4.module+el9.3.0+19518+63aad52d
Red Hat rhel eus 9.4nodejs-packaging-bundler0:2021.06-4.module+el9.3.0+19518+63aad52d
Red Hat rhel eus 9.4npm1:10.8.2-1.20.18.2.2.module+el9.4.0+23089+aaa18a20
Rocky Linux 8nodejs1:20.19.1-1.module+el8.10.0+1972+57cf735f
Rocky Linux 8nodejs1:22.15.0-1.module+el8.10.0+1971+0bb08ece
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140ee
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87f
Rocky Linux 8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60f
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+1823+b5789597
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+1824+532140ee
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+1924+614dc87f
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+1988+437f3d23
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.10.0+1989+e60144d9
Rocky Linux 8nodejs-packaging0:2021.06-4.module+el8.9.0+1419+1f26ef47
Rocky Linux 9nodejs-nodemon0:3.0.1-1.module+el9.5.0+31785+5534beb0
Rocky Linux 9nodejs-nodemon0:3.0.1-1.module+el9.5.0+31770+0da7192d
Rocky Linux 9nodejs-packaging0:2021.06-4.module+el9.5.0+31770+0da7192d
Rocky Linux 9nodejs-packaging0:2021.06-4.module+el9.5.0+31786+d18c719d
Rocky Linux 9nodejs-packaging0:2021.06-4.module+el9.5.0+31785+5534beb0
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Micro 5.3c-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Micro 5.4c-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Micro 5.5c-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Module for Basesystem 15 SP7c-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Server 15 SP4-LTSSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Server 15 SP5-LTSSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Server 15 SP6-LTSSc-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4c-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5c-ares1.34.8-150000.3.29.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6c-ares1.34.8-150000.3.29.1
SUSE Linux Micro 6.0c-ares1.34.8-1.1
SUSE Linux Micro 6.1c-ares1.34.8-slfo.1.1_1.1
Ubuntu 25.04c-ares1.34.4-2.1ubuntu0.1
openSUSE Tumbleweedc-ares1.34.5-1.1