NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2022-41340 — @lionello/secp256k1-js

HIGHFix: lionello/secp256k1-js@302800f

CVE-2022-41340 is a high-severity (CVSS 7.5) CWE-347 vulnerability in @lionello/secp256k1-js. A fix is available for @lionello/secp256k1-js — see the affected versions and patch details below.

secp256k1-js implements ECDSA without required r and s validation, leading to signature forgery

Also known asGHSA-q3f4-9h4p-vgr3
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-41340.

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs53th percentile — riskier than 53% of all scored CVEsHighest risk
0.00%0.40%0.80%1.20%0.1%0.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

1other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
@lionello/secp256k1-jsnpm
93downloads / week

Description

The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npm@lionello/secp256k1-jsall versions1.1.0npm install @lionello/secp256k1-js@1.1.0

Affected Products

1 product · 1 configurations
Application
secp256k1-jssecp256k1-js_project
< 1.1.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @lionello/secp256k1-js, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update @lionello/secp256k1-js to 1.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-41340 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.
O3 Security · Impact-Aware SCA

Is CVE-2022-41340 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2022-41340: @lionello/secp256k1-js — Fixed in 1.1.0