Skip to content
pkgseek
Back to CVE search

CVE-2025-31498

high · 7

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.

First indexed 4/8/2025View on NVD

Advisory Facts

Markdown

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
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2025-31498?locale=en

Distribution-aware status

6
Distributions
59
Package/release records
20
Vendor advisories
59
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

59 affected package/release combinations
nodejs
3x86_64
1:20.18.2-1.1.al8Fixed in 1:20.19.1-1.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs
nodejs-devel
3x86_64
1:20.18.2-1.1.al8Fixed in 1:20.19.1-1.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-devel
nodejs-docs
3noarch
1:20.18.2-1.1.al8Fixed in 1:20.19.1-1.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-docs
nodejs-full-i18n
3x86_64
1:20.18.2-1.1.al8Fixed in 1:20.19.1-1.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-full-i18n
npm
3x86_64
1:10.8.2-1.20.18.2.1.1.al8Fixed in 1:10.8.2-1.20.19.1.1.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade npm
nodejs
9aarch64, x86_64
1:20.20.2-1.module_el9.7.0+226+88d36870Fixed in 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs
nodejs-docs
9noarch
1:20.20.2-1.module_el9.7.0+226+88d36870Fixed in 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-docs
npm
9aarch64, noarch, x86_64
1:11.19.1-1.24.22.3.1.module_el9.9.0+375+9b668349Fixed in 1:20.19.1-1.module_el9.6.0+163+d268fe53
almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/3/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/22/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 9/5/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/22/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/4/2026

almalinuxALSA-2025:7426· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/2/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/3/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/22/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 9/5/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/22/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/3/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/4/2026

almalinuxALSA-2025:7433· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade npm
c-ares
42i686, x86_64
1.34.4-3.fc42Fixed in 1.34.5-1.fc42
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade c-ares
c-ares-devel
42i686, x86_64
1.34.4-3.fc42Fixed in 1.34.5-1.fc42
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade c-ares-devel
nodejs
10.2x86_64
1:22.13.1-2.el10Fixed in 1:22.15.0-1.el10_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs
nodejs-devel
10.2x86_64
1:22.13.1-2.el10Fixed in 1:22.15.0-1.el10_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-devel
nodejs-docs
10.2noarch
1:22.13.1-2.el10Fixed in 1:22.15.0-1.el10_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-docs
nodejs-full-i18n
10.2x86_64
1:22.13.1-2.el10Fixed in 1:22.15.0-1.el10_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-full-i18n
nodejs-libs
10.2x86_64
1:22.13.1-2.el10Fixed in 1:22.15.0-1.el10_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-libs
nodejs-npm
10.2x86_64
1:10.9.2-1.22.13.1.2.el10Fixed in 1:10.9.2-1.22.15.0.1.el10_0
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade nodejs-npm

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.