CVSS 4.0
8.3 highCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NHigh (8.3) in c-ares c-ares. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NExplain CVE-2025-31498 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31498?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31498?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-31498 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| c-ares | >= 1.32.3, < 1.34.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13, 14 | c-ares | 1.34.5-1 | DEBIAN-CVE-2025-31498 |
| Ubuntu | 25.04 | c-ares | 1.34.4-2.1ubuntu0.1 | USN-7477-1 |
| Red Hat | enterprise_linux:8::appstream | nodejs, nodejs-docs, nodejs-devel and 3 more | 1:20.19.1-1.module+el8.10.0+23054+5431297f | RHSA-2025:4461 |
| Red Hat | enterprise_linux:8::appstream | nodejs, nodejs-docs, nodejs-libs and 5 more | 1:22.15.0-1.module+el8.10.0+23068+28ff2340 | RHSA-2025:4459 |
| Red Hat | enterprise_linux:8::appstream | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+22904+d0fedeff | RHSA-2025:4461 |
| Red Hat | enterprise_linux:8::appstream | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+23068+28ff2340 | RHSA-2025:4459 |
| Red Hat | enterprise_linux:8::appstream | nodejs-packaging, nodejs-packaging-bundler | 0:2021.06-4.module+el8.10.0+22904+d0fedeff | RHSA-2025:4461 |
| Red Hat | enterprise_linux:8::appstream | nodejs-packaging, nodejs-packaging-bundler | 0:2021.06-4.module+el8.10.0+23068+28ff2340 | RHSA-2025:4459 |
| Red Hat | enterprise_linux:8::appstream | npm | 1:10.8.2-1.20.19.1.1.module+el8.10.0+23054+5431297f | RHSA-2025:4461 |
| Red Hat | enterprise_linux:8::appstream | npm | 1:10.9.2-1.22.15.0.1.module+el8.10.0+23068+28ff2340 | RHSA-2025:4459 |
| Red Hat | enterprise_linux:8::appstream | v8-12.4-devel | 3:12.4.254.21-1.22.15.0.1.module+el8.10.0+23068+28ff2340 | RHSA-2025:4459 |
| Red Hat | enterprise_linux:9::appstream | nodejs, nodejs-docs, nodejs-devel and 3 more | 1:20.19.1-1.module+el9.6.0+23053+4195b0b2 | RHSA-2025:7426 |
| Red Hat | enterprise_linux:9::appstream | nodejs, nodejs-docs, nodejs-libs and 5 more | 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 | RHSA-2025:7433 |
| Red Hat | enterprise_linux:9::appstream | nodejs-nodemon | 0:3.0.1-1.module+el9.3.0.z+20478+84a9f781 | RHSA-2025:7426 |
| 12 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 more | c-ares | 1.34.8-150000.3.29.1 | SUSE-SU-2026:4021-1 |
| SUSE | Linux Micro 6.0 | c-ares | 1.34.8-1.1 | SUSE-SU-2026:23364-1 |
| SUSE | Linux Micro 6.1 | c-ares | 1.34.8-slfo.1.1_1.1 | SUSE-SU-2026:23414-1 |
| openSUSE | Tumbleweed | c-ares | 1.34.5-1.1 | openSUSE-SU-2025:14977-1 |
| AlmaLinux | 8 | nodejs, nodejs-docs, nodejs-devel and 1 more | 1:20.19.1-1.module_el8.10.0+3987+dbda4426 | ALSA-2025:4461 |
| AlmaLinux | 8 | nodejs, nodejs-docs, nodejs-libs and 2 more | 1:22.15.0-1.module_el8.10.0+3986+a908e756 | ALSA-2025:4459 |
| AlmaLinux | 8 | nodejs-nodemon | 3.0.1-1.module_el8.10.0+3982+85c136aa | ALSA-2025:4461 |
| AlmaLinux | 8 | nodejs-nodemon | 3.0.1-1.module_el8.10.0+3983+391a1a04 | ALSA-2025:4459 |
| AlmaLinux | 8 | nodejs-packaging | 2021.06-4.module_el8.10.0+3987+dbda4426 | ALSA-2025:4461 |
| AlmaLinux | 8 | nodejs-packaging, nodejs-packaging-bundler | 2021.06-4.module_el8.10.0+3961+6a788e57 | ALSA-2025:4459 |
| AlmaLinux | 8 | nodejs-packaging-bundler | 2021.06-4.module_el8.10.0+3958+472a6467 | ALSA-2025:4461 |
| AlmaLinux | 8 | npm | 1:10.8.2-1.20.19.1.1.module_el8.10.0+3987+dbda4426 | ALSA-2025:4461 |
| AlmaLinux | 8 | npm | 1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756 | ALSA-2025:4459 |
| AlmaLinux | 8 | v8-12.4-devel | 3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756 | ALSA-2025:4459 |
| AlmaLinux | 9 | nodejs, nodejs-docs, nodejs-devel and 1 more | 1:20.19.1-1.module_el9.6.0+163+d268fe53 | ALSA-2025:7426 |
| AlmaLinux | 9 | nodejs, nodejs-docs, nodejs-libs and 2 more | 1:22.15.0-1.module_el9.6.0+164+2d89b8ed | ALSA-2025:7433 |
| 9 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | nodejs | 1:20.19.1-1.module+el8.10.0+1972+57cf735f | RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs | 1:22.15.0-1.module+el8.10.0+1971+0bb08ece | RLSA-2025:4459 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1666+930e28e8 | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1667+4a788d89 | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1823+b5789597 | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1824+532140ee | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1924+614dc87f | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1935+d3cbe60f | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1988+437f3d23 | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1989+e60144d9 | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.9.0+1760+903d54b9 | RLSA-2025:4459 RLSA-2025:4461 |
| Rocky Linux | 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1667+4a788d89 | RLSA-2025:4459 RLSA-2025:4461 |
| 11 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.21, v3.22, v3.23 and 1 more | c-ares | 1.34.5-r0 | ALPINE-CVE-2025-31498 |
| Azure Linux | 3 | fluent-bit | 3.1.9-4 | AZL-59742 |
| Alpaquita | stream | c-ares | 1.34.5-r0 | BELL-CVE-2025-31498 |
| BellSoft Hardened Containers | stream | c-ares | 1.34.5-r0 | BELL-CVE-2025-31498 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
This vulnerability is rated as moderate severity rather than important because successful exploitation requires a complex and unlikely set of conditions. While it is a use-after-free bug—typically a serious issue—the ability to trigger it remotely is largely theoretical. An attacker would need to control an upstream DNS server and simultaneously flood the target with ICMP UNREACHABLE packets to influence network behavior precisely, a scenario that is difficult to achieve in practice. Additionally, local exploitation depends on manipulating low-level socket behavior to induce send() or write() failures, which also requires elevated system influence or specific environmental conditions.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | nodejs22-1:22.15.0-1.el10_0 | Fixed 2025-05-13 | RHSA-2025:7502 |
| Red Hat Enterprise Linux 8 | nodejs:22-8100020250429143334.6d880403 | Fixed 2025-05-05 | RHSA-2025:4459 |
| Red Hat Enterprise Linux 8 | nodejs:20-8100020250425153222.489197e6 | Fixed 2025-05-05 | RHSA-2025:4461 |
| Red Hat Enterprise Linux 9 | nodejs:20-9060020250425155626.rhel9 | Fixed 2025-05-13 | RHSA-2025:7426 |
| Red Hat Enterprise Linux 9 | nodejs:22-9060020250428105352.rhel9 | Fixed 2025-05-13 | RHSA-2025:7433 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | nodejs:20-9040020250506133952.rhel9 | Fixed 2025-05-14 | RHSA-2025:7537 |
| Red Hat Enterprise Linux 10 | c-ares | Not affected | |
| Red Hat Enterprise Linux 6 | c-ares | Out of support scope | |
| Red Hat Enterprise Linux 7 | c-ares | Out of support scope | |
| Red Hat Enterprise Linux 8 | c-ares | Not affected | |
| Red Hat Enterprise Linux 8 | nodejs:18/nodejs | Not affected | |
| Red Hat Enterprise Linux 9 | c-ares | Not affected | |
| Red Hat Enterprise Linux 9 | nodejs:18/nodejs | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-31498.