Loading...
Skip to main content

CVE-2019-25003 — Vulnerability in libsecp256k1 — CVE Details

HIGH

libsecp256k1 contains side-channel timing attack

Published August 25, 2021Updated November 8, 2023Source: osv

Summary

Versions of libsecp256k1 prior to 0.3.1 did not execute `Scalar::check_overflow` in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying `Scalar::check_overflow` to execute in constant time.

Advisory Timeline

  • First published August 25, 2021 (1874 days ago).
  • Last revised November 8, 2023 — 804 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update libsecp256k1 to 0.3.1 or later
cargo update -p libsecp256k1 --precise 0.3.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
libsecp256k1
crates.io
All versions0.3.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2019-25003?
libsecp256k1 contains side-channel timing attack This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2019-25003?
CVE-2019-25003 affects libsecp256k1. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-25003 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-hrjm-c879-pp86
RUSTSEC-2019-0027

Related CVEs

  • CVE-2021-38195
    CRITICAL

    Overflow in libsecp256k1

  • CVE-2026-93657
    HIGH

    hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures

  • CVE-2026-18140
    HIGH

    aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies