EDDSA Signature Malleability Vulnerability in Node.js Elliptic Package

node-elliptic Updated 02 Oct 2025

Summary

02/08/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-42459: In the Elliptic package 6.5.6 for Node.js, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended. Affects node-elliptic versions < 6.5.7+dfsg-1. Fixed in 6.5.7+dfsg-1. 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

The Elliptic package is a widely used library in Node.js for elliptic curve cryptography. It provides functionalities for various cryptographic operations, including digital signatures and key generation. The package is essential for developers implementing secure communications and data integrity in their applications. However, a vulnerability has been identified in version 6.5.6 that affects the integrity of EDDSA signatures, potentially leading to security issues.

Vulnerability Detail

In the Elliptic package version 6.5.6 for Node.js, a vulnerability exists due to a missing signature length check during the EDDSA signature generation process. This oversight allows for signature malleability, where attackers can manipulate the signature by removing or appending zero-valued bytes. The ramifications of this vulnerability include the potential for unauthorized access or data tampering, as the integrity of the signatures can no longer be guaranteed. This issue highlights the importance of thorough input validation in cryptographic implementations.

How To Fix

Minimum fixed version

6.5.7+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-elliptic

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

Workaround

As a temporary workaround, you can implement additional checks in your application to validate the length of the signatures before processing them. However, this is not a substitute for updating the package to the patched version.

Conclusion

The vulnerability in the Elliptic package poses significant risks to applications relying on EDDSA signatures. It is crucial for developers to update to the patched version to maintain the integrity and security of their cryptographic operations. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities in real-time.

See every vulnerability recorded for node-elliptic →

Share this vulnerability

FAQ

The vulnerability is related to EDDSA signature malleability due to a missing signature length check, allowing attackers to manipulate signatures.

You can use Vulert, which monitors open-source vulnerabilities in your software. By simply uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to access the code.

The consequences include unauthorized access and data tampering, as the integrity of digital signatures may be compromised.

Yes, a patch is available in version 6.5.7+dfsg-1 of the Elliptic package. It is recommended to update to this version or later.

If immediate updating is not possible, consider implementing additional signature length checks in your application as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for node-elliptic.

How To Fix

Minimum fixed version

6.5.7+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-elliptic

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