# CVE-2024-49365: tiny-secp256k1 allows for verify() bypass when running in bundled environment

- Severity: High 8.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-30T17:44:14.000Z
- Modified: 2026-06-17T07:59:46.403Z
- Also known as: GHSA-5vhg-9xg4-cv9m
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. Prior to version 1.1.7, a malicious JSON-stringifyable message can be made passing on verify(), when global Buffer is the buffer package. This affects only environments where require('buffer') is the NPM buffer package. Buffer.isBuffer check can be bypassed, resulting in strange objects being accepted as a message, and those messages could trick verify() into returning false-positive true values. This issue has been patched in version 1.1.7.

(As written by CVE List.)

## Affected

- bitcoinjs tiny-secp256k1: < 1.1.7
- tiny-secp256k1 (npm): before 1.1.7

## Every score

- GitHub_M: CVSS:4.0 8.1 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-5vhg-9xg4-cv9m> (exploit, web)
- <https://github.com/bitcoinjs/tiny-secp256k1/pull/140> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-49365> (advisory)
- <https://github.com/bitcoinjs/tiny-secp256k1> (package)

## Sources

- CVE List: [CVE-2024-49365](https://www.cve.org/CVERecord?id=CVE-2024-49365), CVE Terms of Use, modified 2025-07-01
- GitHub Advisory Database: [GHSA-5vhg-9xg4-cv9m](https://github.com/advisories/GHSA-5vhg-9xg4-cv9m), CC-BY-4.0, modified 2025-07-01
- NVD: [CVE-2024-49365](https://nvd.nist.gov/vuln/detail/CVE-2024-49365), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-49365 · Whole record: https://cve.day/CVE-2024-49365.json · Rebuilt by cve.day 2026-11-25T22:58:52.794Z
