CVE-2024-49365
JavaScript vulnerability analysis and mitigation

Overview

tiny-secp256k1, a native/JS wrapper for secp256k1, was found to contain a critical vulnerability (CVE-2024-49365) affecting versions prior to 1.1.7. The vulnerability allows malicious JSON-stringifyable messages to bypass verification checks when the global Buffer is the buffer package, specifically in environments where require('buffer') is the NPM buffer package (GitHub Advisory).

Technical details

The vulnerability stems from a bypass in the Buffer.isBuffer check, which allows arbitrary objects to be accepted as valid messages. These malicious messages could trick the verify() function into returning false-positive true values. This issue specifically affects browser bundles and React Native apps where the buffer package from npmjs.com is used. The vulnerability is particularly concerning as it allows crafting malicious messages for any known message/signature pair (GitHub Advisory).

Impact

The vulnerability enables attackers to craft malicious messages that could be verified as valid from a given known message/signature pair. This could lead to the acceptance of unauthorized or malicious data in systems relying on secp256k1 signature verification. The issue is rated as Critical due to its potential impact on cryptographic verification systems (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.1.7 of tiny-secp256k1. Users are strongly advised to upgrade to this version. The fix was implemented through PR #140, which adds proper Uint8Array input type support and includes additional validation checks (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management