Critical Vulnerability in node-cipher-base: Potential for Hash Collisions and Denial of Service

node-cipher-base Updated 03 Oct 2025

Summary

11/09/2025
N/A
Yes i
Unrated
Not published

USN-7746-1: node-cipher-base vulnerability. Affects node-cipher-base versions < 1.0.4-1ubuntu0.1~esm2. Fixed in 1.0.4-1ubuntu0.1~esm2. 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-cipher-base is a package used in various applications to manage cryptographic operations, particularly related to cipher algorithms. It is designed to provide a secure way to handle sensitive data. However, recent findings have revealed a vulnerability that could allow attackers to manipulate the internal state of hash functions, leading to severe security implications.

Vulnerability Detail

Nikita Skovoroda discovered that node-cipher-base did not properly manage certain inputs. This oversight could allow an attacker to exploit the vulnerability, potentially resulting in hash collisions, denial of service, or other unspecified impacts. The vulnerability is identified as CVE-2025-9287, and it poses a significant risk to applications relying on this package for cryptographic operations.

How To Fix

Minimum fixed version

1.0.4-1ubuntu0.1~esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-cipher-base

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

Workaround

As a temporary measure, users may consider restricting input validation for the affected functions to mitigate the risk of exploitation until the package can be updated. However, this is not a permanent solution and should only be used as a stopgap.

Conclusion

The vulnerability in node-cipher-base poses a significant risk to applications that utilize this package for cryptographic operations. It is crucial for users to update to the patched versions provided for their respective Ubuntu distributions to mitigate potential risks. Additionally, utilizing tools like Vulert can help monitor and alert for vulnerabilities in real-time.

See every vulnerability recorded for node-cipher-base →

Share this vulnerability

FAQ

The vulnerability allows attackers to manipulate the internal state of hash functions, which can lead to hash collisions and denial of service.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

The impacts include hash collisions, denial of service, and potentially other unspecified security issues that could compromise application integrity.

Yes, patched versions of the node-cipher-base package are available for various Ubuntu distributions. Users should update to the latest version as soon as possible.

If immediate updates are not possible, consider implementing input validation restrictions as a temporary workaround until the package can be updated.

Related vulnerabilities

Recent vulnerabilities recorded for node-cipher-base.

How To Fix

Minimum fixed version

1.0.4-1ubuntu0.1~esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-cipher-base

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