CVE-2025-46723 OpenVM byte decomposition of pc in AUIPC chip can overflow
A malicious prover can exploit an integer overflow in the AUIPC chip to manipulate the program counter, potentially leading to arbitrary code execution or data modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-46723?
CVE-2025-46723 is a high-severity vulnerability in openvm-org openvm, published on 2 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OpenVM is a performant and modular zkVM framework built for customization and extensibility. In version 1.0.0, OpenVM is vulnerable to overflow through byte decomposition of pc in AUIPC chip. A typo results in the highest limb of pc being range checked to 8-bits instead of 6-bits. This results in the if statement never being triggered because the enumeration gives i=0,1,2, when instead the enumeration should give i=1,2,3, leaving pc_limbs[3] range checked to 8-bits instead of 6-bits. This leads to a vulnerability where the pc_limbs decomposition differs from the true pc, which means a malicious prover can make the destination register take a different value than the AUIPC instruction dictates, by making the decomposition overflow the BabyBear field. This issue has been patched in version 1.1.0.
Weakness: CWE-131
Which versions are affected by CVE-2025-46723?
2 open source packages ship an affected version, including openvm.
| Package | Affected | Fixed in |
|---|---|---|
openvm crates.io | From 1.0.0 | 1.1.0 |
openvm crates.io | From 1.0.0 | 1.1.0 |
How do I fix CVE-2025-46723?
Upgrade openvm to 1.1.0 or later.
Is CVE-2025-46723 being exploited?
There is no known exploitation of CVE-2025-46723 in the wild and no public exploit code.
Sources
Also known as GHSA-jf2r-x3j4-23m7.