Critical Security Update for Node.js: Addressing Use-After-Free and Integer Overflow Vulnerabilities

nodejs Updated 02 Oct 2025

Summary

05/05/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:4459: Important: nodejs:22 security update. Affects nodejs versions < 1:22.15.0-1.module_el8.10.0+3986+a908e756. Fixed in 1:22.15.0-1.module_el8.10.0+3986+a908e756. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Node.js is a powerful software development platform designed for building fast and scalable network applications using JavaScript. It is widely used for server-side development and offers a rich ecosystem of libraries and tools. However, like any software, it is susceptible to vulnerabilities that can compromise its security and functionality. The recent vulnerabilities identified in Node.js highlight critical issues that developers must address to maintain the integrity of their applications.

Vulnerability Detail

The vulnerabilities in Node.js stem from two main issues: a use-after-free vulnerability in the c-ares library's read_answers() function (CVE-2025-31498) and an integer overflow in SQLite (CVE-2025-3277). The use-after-free vulnerability can lead to arbitrary code execution, allowing attackers to exploit the application and potentially gain unauthorized access to sensitive data. The integer overflow in SQLite can result in unexpected behavior, including crashes or data corruption, posing significant risks to application stability and security.

How To Fix

Minimum fixed version

1:22.15.0-1.module_el8.10.0+3986+a908e756

This is the first release that contains the fix.

sudo dnf update nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, if immediate updates cannot be applied, consider isolating the affected applications from untrusted inputs and limiting their permissions to reduce the impact of potential exploits. Additionally, monitor application logs for unusual activity that may indicate an attempted exploit.

Conclusion

The recent vulnerabilities in Node.js highlight critical security issues that must be addressed to protect applications from potential exploits. By updating to the latest patched versions and implementing recommended workarounds, developers can mitigate the risks associated with these vulnerabilities. Utilizing tools like Vulert can further enhance security by providing real-time monitoring of open-source vulnerabilities.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially allowing an attacker to manipulate the memory and execute arbitrary code.

Integer overflow can lead to unexpected behavior, including crashes, data corruption, or security vulnerabilities that can be exploited by attackers.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to install any software.

If immediate updates are not possible, consider implementing workarounds such as isolating the affected applications and monitoring for unusual activity.

For detailed information, refer to the CVE pages for CVE-2025-31498 and CVE-2025-3277, which provide insights into the vulnerabilities and their impacts.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

1:22.15.0-1.module_el8.10.0+3986+a908e756

This is the first release that contains the fix.

sudo dnf update nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback