Critical Security Update for nodejs-nodemon and nodejs-packaging: Addressing CVE-2025-31498 and CVE-2025-3277

nodejs-nodemon Updated 02 Oct 2025

Summary

29/07/2025
N/A
Yes i
High
7.3

RLSA-2025:7433: Important: nodejs:22 security update. Affects nodejs-nodemon across 2 version ranges.

< 0:3.0.1-1.module+el9.5.0+31770+0da7192d < 0:3.0.1-1.module+el9.5.0+31785+5534beb0

Fixed in 0:3.0.1-1.module+el9.5.0+31770+0da7192d or 0:3.0.1-1.module+el9.5.0+31785+5534beb0, depending on the release line you run. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Node.js is a powerful software development platform designed for building fast and scalable network applications using JavaScript. It is widely utilized for server-side development due to its non-blocking, event-driven architecture. The packages 'nodejs-nodemon' and 'nodejs-packaging' are essential tools within the Node.js ecosystem, providing developers with utilities for automatic application restarts and packaging Node.js applications, respectively. However, recent vulnerabilities have been identified that could compromise the security of applications relying on these packages.

Vulnerability Detail

The vulnerabilities stem from two critical issues: a use-after-free error in the c-ares library (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 lead to unexpected behavior, including application crashes or data corruption. Both vulnerabilities pose significant risks to the integrity and security of applications built on Node.js.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update nodejs-nodemon
  • < 0:3.0.1-1.module+el9.5.0+31770+0da7192d 0:3.0.1-1.module+el9.5.0+31770+0da7192d
  • < 0:3.0.1-1.module+el9.5.0+31785+5534beb0 0:3.0.1-1.module+el9.5.0+31785+5534beb0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate updates cannot be applied, consider isolating the affected applications from untrusted inputs and limiting their exposure to potential attacks until the patches are applied.

Conclusion

The recent vulnerabilities in 'nodejs-nodemon' and 'nodejs-packaging' pose significant risks to applications built on Node.js. It is crucial to apply the recommended updates to mitigate these risks and ensure the security of your applications. Utilizing tools like Vulert can help monitor for vulnerabilities in real-time.

See every vulnerability recorded for nodejs-nodemon →

Share this vulnerability

FAQ

CVE-2025-31498 is a use-after-free vulnerability in the c-ares library, while CVE-2025-3277 is an integer overflow issue in SQLite, both affecting Node.js applications.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

The CVSS score for these vulnerabilities is 7.3, indicating a high level of severity.

If you cannot update immediately, consider implementing security measures to limit exposure and isolate affected applications until patches can be applied.

The Rocky Enterprise Software Foundation and Red Hat are responsible for maintaining and securing the Node.js packages in Rocky Linux.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs-nodemon.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update nodejs-nodemon
  • < 0:3.0.1-1.module+el9.5.0+31770+0da7192d 0:3.0.1-1.module+el9.5.0+31770+0da7192d
  • < 0:3.0.1-1.module+el9.5.0+31785+5534beb0 0:3.0.1-1.module+el9.5.0+31785+5534beb0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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