Skip to content

CVE-2021-38195 Overflow in libsecp256k1

CriticalCVSS 9.8 EPSS 0.91%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io libsecp256k1(crates.io) < 0.5.0; >= 0.0.0-0, < 0.5.0 0.5.0 Fixed
parity libsecp256k1 < 0.5.0 0.5.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io libsecp256k1(crates.io) < 0.5.0 0.5.0
crates.io libsecp256k1(crates.io) >= 0.0.0-0, < 0.5.0 0.5.0
parity libsecp256k1 < 0.5.0 0.5.0

References