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

nodejs Updated 02 Oct 2025

Summary

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

ALSA-2025:7433: Important: nodejs:22 security update. Affects nodejs versions < 1:22.15.0-1.module_el9.6.0+164+2d89b8ed. Fixed in 1:22.15.0-1.module_el9.6.0+164+2d89b8ed. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Node.js is a powerful open-source platform designed for building fast and scalable network applications using JavaScript. It is widely used for server-side development due to its non-blocking I/O model and event-driven architecture, which allows for efficient handling of multiple connections simultaneously. However, like any software, Node.js is susceptible to vulnerabilities that can compromise its security and functionality.

Vulnerability Detail

The recent security update for Node.js addresses two critical vulnerabilities: a use-after-free issue 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 memory corruption, potentially allowing an attacker to execute arbitrary code. The integer overflow in SQLite may result in unexpected behavior or crashes, posing risks to data integrity and application stability.

How To Fix

Minimum fixed version

1:22.15.0-1.module_el9.6.0+164+2d89b8ed

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

If immediate updates cannot be applied, consider implementing strict input validation and sanitization in your application to mitigate potential exploitation of these vulnerabilities until the updates can be performed.

Conclusion

In summary, the recent security update for Node.js addresses critical vulnerabilities that could compromise application security. It is crucial to update to the latest patched versions of Node.js and its related packages to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for open-source vulnerabilities in your software.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

The update addresses a use-after-free vulnerability in c-ares (CVE-2025-31498) and an integer overflow in SQLite (CVE-2025-3277).

You can use Vulert's playground at Vulert Scanner to check if your application is affected by these vulnerabilities without needing to sign up.

Failure to update may leave your application vulnerable to exploitation, leading to memory corruption, arbitrary code execution, or data integrity issues.

Yes, ensure you update to at least version 1:22.15.0-1.module_el9.6.0+164+2d89b8ed for Node.js and its related packages.

While you can continue using your application, it is recommended to implement strict input validation and sanitization as a temporary measure until the vulnerabilities are patched.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

1:22.15.0-1.module_el9.6.0+164+2d89b8ed

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