Read the docs
TI-2021-15872 Aliases CVE-2021-38195GHSA-g4vj-x7v9-h82m

An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust.

Priority MEDIUM 44CWE-347Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass, Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-347, CWE-190 and the CVSS impact.

Summary

An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust. It can verify an invalid signature because it allows the R or S parameter to be larger than the curve order, aka an overflow.

Why it matters now

EPSS 0.00909 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed libsecp256k1 (crates.io): 0.5.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—libsecp256k1 (crates.io)before 0.5.00.5.0Patch availableGHSA-g4vj-x7v9-h82m
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • libsecp256k1 (crates.io) Vendor— Affected before 0.5.0 Fixed in 0.5.0 Patch available GHSA-g4vj-x7v9-h82m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:parity:libsecp256k1:*:*:*:*:*:rust:*:*before 0.5.0Vulnerableparitytech
  • cpe:2.3:a:parity:libsecp256k1:*:*:*:*:*:rust:*:* Versions before 0.5.0 Vulnerable ·paritytech

Remediation

  • Fix · GHSA-g4vj-x7v9-h82m libsecp256k1 (crates.io) Fixed in 0.5.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-38195
  2. 2026-10-03 Alias added: GHSA-g4vj-x7v9-h82m

References

  • TI-2019-15144 An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. CVSS 3.1HIGH 7.5
  • TI-2019-14633 A timing vulnerability in the Scalar::check_overflow function in Parity libsecp256k1-rs… CVSS 3.1MEDIUM 5.9

Sources