Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-52884

LOW 1.7EPSS 51%

risc0-ethereum-contracts allows invalid commitment with digest value of zero to be accepted by Steel.validateCommitment

Also known as GHSA-gjv3-89hh-9xq2

Mitigation

  • Upgrade risc0-ethereum-contracts to 2.1.1 or later.

Who should check

  • Projects that depend on crates.io package risc0-ethereum-contracts (< 2.1.1)
  • Anyone running risc0-ethereum < 2.1.1

Vulnerability facts

Affected
risc0-ethereum-contracts < 2.1.1
Fixed in
2.1.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
1.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:UOpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Unreported
EPSS
0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
CWE
CWE-159
Published
Modified

Description

RISC Zero is a zero-knowledge verifiable general computing platform, with Ethereum integration. The risc0-ethereum repository contains Solidity verifier contracts, Steel EVM view call library, and supporting code. Prior to versions 2.1.1 and 2.2.0, the `Steel.validateCommitment` Solidity library function will return `true` for a crafted commitment with a digest value of zero. This violates the semantics of `validateCommitment`, as this does not commitment to a block that is in the current chain. Because the digest is zero, it does not correspond to any block and there exist no known openings. As a result, this commitment will never be produced by a correct zkVM guest using Steel and leveraging this bug to compromise the soundness of a program using Steel would require a separate bug or misuse of the Steel library, which is expected to be used to validate the root of state opening proofs. A fix has been released as part of `risc0-ethereum` 2.1.1 and 2.2.0. Users for the `Steel` Solidity library versions 2.1.0 or earlier should ensure they are using `Steel.validateCommitment` in tandem with zkVM proof verification of a Steel program, as shown in the ERC-20 counter example, and documentation. This is the correct usage of Steel, and users following this pattern are not at risk, and do not need to take action. Users not verifying a zkVM proof of a Steel program should update their application to do so, as this is incorrect usage of Steel.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io risc0-ethereum-contracts< 2.1.12.1.1osv
risc0-ethereum< 2.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-52884. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-52884.md
Affected: risc0-ethereum-contracts < 2.1.1
Fixed in: 2.1.1

Steps:
1. Search this machine and project for risc0-ethereum-contracts (crates.io), risc0-ethereum: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-52884 being exploited?

There is no confirmed exploitation: CVE-2025-52884 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-52884?

Low: CVSS 1.7 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-52884?

risc0-ethereum-contracts < 2.1.1.

Is there a fix for CVE-2025-52884?

Yes. Fixed in 2.1.1. Upgrade risc0-ethereum-contracts to 2.1.1 or later.

How do I check if I'm affected by CVE-2025-52884?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors