LiveActive security incident?Get immediate response
CVE Record

CVE-2021-38195: An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-38195 affects the Rust libsecp256k1 crate before version 0.5.0. The library could accept an invalid cryptographic signature when signature values exceed the curve order. Business risk depends on whether the crate is used to make trust, authorization, transaction, or integrity decisions.

Executive priority

Treat as targeted dependency remediation. Escalate if the affected crate protects financial, authentication, blockchain, or integrity workflows; otherwise handle through normal dependency update cycles.

Technical view

The issue is an overflow-related ECDSA verification flaw in libsecp256k1 before 0.5.0. The verifier allowed R or S parameters larger than the secp256k1 curve order, which could cause invalid signatures to verify as valid.

Likely exposure

Exposure is limited to Rust applications or libraries that directly or transitively depend on libsecp256k1 versions before 0.5.0. Impact is highest where signature verification gates security-sensitive decisions.

Exploitation context

The supplied sources do not report active exploitation, and the CVE is not marked KEV. They only state that invalid signatures can verify under the affected condition.

Researcher notes

Evidence is narrow but clear: RustSec and CVE sources identify the vulnerable crate, affected versions, and verification failure mode. No CVSS, CWE, exploit maturity, or downstream product list is provided.

Mitigation direction

  • Upgrade libsecp256k1 to version 0.5.0 or later.
  • Regenerate and review Cargo.lock after dependency updates.
  • Check transitive dependencies for pinned vulnerable versions.
  • Review vendor or RustSec guidance if immediate upgrade is blocked.
  • Prioritize systems where signatures authorize funds, identity, or data integrity.

Validation and detection

  • Inspect Cargo.toml and Cargo.lock for libsecp256k1 before 0.5.0.
  • Check dependency scanner results against RUSTSEC-2021-0076.
  • Confirm builds resolve libsecp256k1 to 0.5.0 or later.
  • Add regression tests rejecting signatures with out-of-range R or S values.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-38195 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.