# CVE-2025-52884: risc0-ethereum-contracts allows invalid commitment with digest value of zero to be accepted by Steel.validateCommitment

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 1.7
- **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:U`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.75% (percentile 51, 2026-11-26)
- **CWE:** CWE-159
- **Aliases:** GHSA-gjv3-89hh-9xq2
- **Published:** 2025-06-24T20:20:17.287Z
- **Modified:** 2026-06-17T09:37:12.740Z

## Who should check

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

## 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

- crates.io `risc0-ethereum-contracts`: affected \< 2.1.1; fixed 2.1.1 (osv)
- risc0-ethereum: \< 2.1.1 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/risc0/risc0-ethereum/security/advisories/GHSA-gjv3-89hh-9xq2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-52884>
- patch: <https://github.com/risc0/risc0-ethereum/pull/605>
- patch: <https://github.com/risc0/risc0-ethereum/commit/3bbac859c7132b21ba5fdf2d47f1dd52e7e73d98>
- other: <https://docs.beboundless.xyz/developers/steel/how-it-works#verifying-the-proof-onchain>
- other: <https://github.com/risc0/risc0-ethereum/blob/ff0cb9253a87945b653b825711b8b5075f8b7545/examples/erc20-counter/contracts/src/Counter.sol#L56-L63>
- other: <https://github.com/risc0/risc0-ethereum/releases/tag/v2.1.1>
- other: <https://github.com/risc0/risc0-ethereum/releases/tag/v2.2.0>
- other: <https://github.com/risc0/risc0-ethereum>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-52884>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gjv3-89hh-9xq2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-52884> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-52884>
