---
title: "CVE-2025-31498"
canonical_url: "https://pkgseek.com/security/CVE-2025-31498"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2025-31498

Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language.  Security Fix(es): * c-ares: c-ares has a use-after-free in read_answers() (CVE-2025-31498) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2025-31498 is rated HIGH (7.0), with 59 indexed affected package builds across 6 distributions.

- **Severity / Score**: HIGH (7.0)
- **Affected builds**: 59
- **Affected distros**: 6
- **Distros with fixed_in**: Alibaba Cloud Linux, AlmaLinux, Fedora, Oracle Linux, Red Hat Enterprise Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | nodejs | 1:20.18.2-1.1.al8 | 1:20.19.1-1.1.al8 |
| Alibaba Cloud Linux | 3 | nodejs-devel | 1:20.18.2-1.1.al8 | 1:20.19.1-1.1.al8 |
| Alibaba Cloud Linux | 3 | nodejs-docs | 1:20.18.2-1.1.al8 | 1:20.19.1-1.1.al8 |
| Alibaba Cloud Linux | 3 | nodejs-full-i18n | 1:20.18.2-1.1.al8 | 1:20.19.1-1.1.al8 |
| Alibaba Cloud Linux | 3 | npm | 1:10.8.2-1.20.18.2.1.1.al8 | 1:10.8.2-1.20.19.1.1.1.al8 |
| AlmaLinux | 9 | nodejs | 1:20.20.2-1.module_el9.7.0+226+88d36870 | 1:22.15.0-1.module_el9.6.0+164+2d89b8ed |
| AlmaLinux | 9 | nodejs-devel | 1:20.20.2-1.module_el9.7.0+226+88d36870 | 1:22.15.0-1.module_el9.6.0+164+2d89b8ed |
| AlmaLinux | 9 | nodejs-docs | 1:20.20.2-1.module_el9.7.0+226+88d36870 | 1:22.15.0-1.module_el9.6.0+164+2d89b8ed |
| AlmaLinux | 9 | nodejs-full-i18n | 1:20.20.2-1.module_el9.7.0+226+88d36870 | 1:22.15.0-1.module_el9.6.0+164+2d89b8ed |
| AlmaLinux | 9 | nodejs-libs | 1:16.20.2-8.el9_4 | 1:20.19.1-1.module_el9.6.0+163+d268fe53 |
| AlmaLinux | 9 | nodejs-nodemon | 3.0.1-1.module_el9.5.0+136+92f38f3c | 3.0.1-1.module_el9.5.0+139+09296491 |
| AlmaLinux | 9 | nodejs-packaging | 2021.06-4.module_el9.5.0+136+92f38f3c | 2021.06-4.module_el9.5.0+139+09296491 |
| AlmaLinux | 9 | nodejs-packaging-bundler | 2021.06-4.module_el9.5.0+136+92f38f3c | 2021.06-4.module_el9.5.0+139+09296491 |
| AlmaLinux | 9 | npm | 1:11.19.1-1.24.22.3.1.module_el9.9.0+375+9b668349 | 1:20.19.1-1.module_el9.6.0+163+d268fe53 |
| Fedora | 42 | c-ares | 1.34.4-3.fc42 | 1.34.5-1.fc42 |
| Fedora | 42 | c-ares-devel | 1.34.4-3.fc42 | 1.34.5-1.fc42 |
| Oracle Linux | 10 | nodejs | 1:22.13.1-2.el10 | 1:22.16.0-1.el10_0 |
| Oracle Linux | 10 | nodejs-devel | 1:22.13.1-2.el10 | 1:22.16.0-1.el10_0 |
| Oracle Linux | 10 | nodejs-docs | 1:22.13.1-2.el10 | 1:22.16.0-1.el10_0 |
| Oracle Linux | 10 | nodejs-full-i18n | 1:22.13.1-2.el10 | 1:22.16.0-1.el10_0 |
| Oracle Linux | 10 | nodejs-libs | 1:22.13.1-2.el10 | 1:22.16.0-1.el10_0 |
| Oracle Linux | 10 | nodejs-npm | 1:10.9.2-1.22.13.1.2.el10 | 1:10.9.2-1.22.16.0.1.el10_0 |
| Oracle Linux | 8 | nodejs | 1:22.23.1-1.module+el8.10.0+90968+e271b286 | 1:22.23.1-2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | nodejs-devel | 1:22.23.1-1.module+el8.10.0+90968+e271b286 | 1:22.23.1-2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | nodejs-docs | 1:22.23.1-1.module+el8.10.0+90968+e271b286 | 1:22.23.1-2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | nodejs-full-i18n | 1:22.23.1-1.module+el8.10.0+90968+e271b286 | 1:22.23.1-2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | nodejs-libs | 1:22.23.1-1.module+el8.10.0+90968+e271b286 | 1:22.23.1-2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | nodejs-nodemon | 3.1.14-1.module+el8.10.0+90975+7cc1ae68 | 3.1.14-1.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | nodejs-packaging | 2021.06-4.module+el8.10.0+90865+d647ef3a | 2021.06-4.module+el8.10.0+90968+e271b286 |
| Oracle Linux | 8 | nodejs-packaging-bundler | 2021.06-4.module+el8.10.0+90865+d647ef3a | 2021.06-4.module+el8.10.0+90968+e271b286 |
| Oracle Linux | 8 | npm | 1:10.9.8-1.22.23.1.1.module+el8.10.0+90968+e271b286 | 1:10.9.8-1.22.23.1.2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 8 | v8-12.4-devel | 3:12.4.254.21-1.22.23.1.1.module+el8.10.0+90968+e271b286 | 3:12.4.254.21-1.22.23.1.2.module+el8.10.0+90976+97994de0 |
| Oracle Linux | 9 | nodejs | 1:22.23.1-1.module+el9.8.0+90947+d3e8e647 | 1:22.23.1-2.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-devel | 1:22.23.1-1.module+el9.8.0+90947+d3e8e647 | 1:22.23.1-2.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-docs | 1:22.23.1-1.module+el9.8.0+90947+d3e8e647 | 1:22.23.1-2.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-full-i18n | 1:22.23.1-1.module+el9.8.0+90947+d3e8e647 | 1:22.23.1-2.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-libs | 1:22.23.1-1.module+el9.8.0+90947+d3e8e647 | 1:22.23.1-2.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-nodemon | 3.0.1-1.module+el9.8.0+90947+d3e8e647 | 3.1.14-1.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-packaging | 2021.06-6.module+el9.8.0+90947+d3e8e647 | 2021.06-6.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | nodejs-packaging-bundler | 2021.06-6.module+el9.8.0+90947+d3e8e647 | 2021.06-6.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | npm | 1:10.9.8-1.22.23.1.1.module+el9.8.0+90947+d3e8e647 | 1:10.9.8-1.22.23.1.2.module+el9.8.0+90973+e42b55e7 |
| Oracle Linux | 9 | v8-12.4-devel | 3:12.4.254.21-1.22.23.1.1.module+el9.8.0+90947+d3e8e647 | 3:12.4.254.21-1.22.23.1.2.module+el9.8.0+90973+e42b55e7 |
| Red Hat Enterprise Linux | 10.2 | nodejs | 1:22.13.1-2.el10 | 1:22.15.0-1.el10_0 |
| Red Hat Enterprise Linux | 10.2 | nodejs-devel | 1:22.13.1-2.el10 | 1:22.15.0-1.el10_0 |
| Red Hat Enterprise Linux | 10.2 | nodejs-docs | 1:22.13.1-2.el10 | 1:22.15.0-1.el10_0 |
| Red Hat Enterprise Linux | 10.2 | nodejs-full-i18n | 1:22.13.1-2.el10 | 1:22.15.0-1.el10_0 |
| Red Hat Enterprise Linux | 10.2 | nodejs-libs | 1:22.13.1-2.el10 | 1:22.15.0-1.el10_0 |
| Red Hat Enterprise Linux | 10.2 | nodejs-npm | 1:10.9.2-1.22.13.1.2.el10 | 1:10.9.2-1.22.15.0.1.el10_0 |
| Red Hat Enterprise Linux | 9.8 | nodejs | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-devel | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-docs | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-full-i18n | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-libs | 1:22.13.1-2.module+el9.5.0+22902+21169374 | 1:22.15.0-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+22773+9a359385 | 3.0.1-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-packaging | 2021.06-4.module+el9.5.0+22773+9a359385 | 2021.06-4.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | nodejs-packaging-bundler | 2021.06-4.module+el9.5.0+22773+9a359385 | 2021.06-4.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | npm | 1:10.8.2-1.20.20.2.1.module+el9.7.0+24193+41b7b572 | 1:10.9.2-1.22.15.0.1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux | 9.8 | v8-12.4-devel | 3:12.4.254.21-1.22.13.1.2.module+el9.5.0+22902+21169374 | 3:12.4.254.21-1.22.15.0.1.module+el9.6.0+23062+9e7801b9 |
| Rocky Linux | 9 | nodejs-nodemon | 2.0.20-3.el9_2 | 0:3.0.1-1.module+el9.5.0+31785+5534beb0 |
