{"id":"CVE-2026-62335","summary":"OpenVM's OpenVmHalo2Verifier accepts non-canonical app commitments","details":"OpenVM is a performant and modular zkVM framework built for customization and extensibility. Before 1.7.0 in the 1.x line and in affected 2.0 and 2.1 prereleases, `OpenVmHalo2Verifier.verify` accepts `appExeCommit` and `appVmCommit` as `bytes32` values without checking that either is less than the `BN254` scalar field modulus. Although public-value and proof-data lengths are checked, callers can provide non-canonical 256-bit encodings greater than or equal to that modulus at the Solidity wrapper boundary. Applications relying on the wrapper can therefore accept non-canonical app executable and app VM commitments, creating ambiguity between the supplied byte-level values and the field elements used by the verifier. This issue is fixed in versions 1.7.0, 2.0.0-rc.3 and 2.1.0-preview.","aliases":["GHSA-w82q-w67c-67wv"],"modified":"2026-11-08T02:30:52.273484065Z","published":"2026-10-30T20:03:14.543Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62335.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-20"]},"references":[{"type":"WEB","url":"https://github.com/openvm-org/openvm/blob/v2.0.0-alpha/crates/sdk/contracts/template/OpenVmHalo2Verifier.sol"},{"type":"WEB","url":"https://github.com/openvm-org/openvm/blob/v2.0.0-beta.2/crates/sdk/contracts/template/OpenVmHalo2Verifier.sol"},{"type":"WEB","url":"https://github.com/openvm-org/openvm/blob/v2.1.0-dev.0/crates/sdk/contracts/template/OpenVmHalo2Verifier.sol"},{"type":"WEB","url":"https://github.com/openvm-org/openvm/releases/tag/v1.7.0"},{"type":"WEB","url":"https://github.com/openvm-org/openvm/releases/tag/v2.0.0-rc.3"},{"type":"WEB","url":"https://github.com/openvm-org/openvm/releases/tag/v2.1.0-preview"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62335.json"},{"type":"ADVISORY","url":"https://github.com/openvm-org/openvm/security/advisories/GHSA-w82q-w67c-67wv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62335"},{"type":"FIX","url":"https://github.com/openvm-org/openvm/commit/1962276254aabc5420de266a8cb672433ce955ff"},{"type":"FIX","url":"https://github.com/openvm-org/openvm/pull/152"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openvm-org/openvm","events":[{"introduced":"0"},{"fixed":"425913bdc743ef44236daf472ec53c2c05b75fa1"},{"introduced":"48776981b8ba2443354044986f4c480ed57453a4"},{"fixed":"fa209f898baa38ddfdcb73b95d2cb3ff3d428c36"},{"introduced":"4d410f21fd90a05e7f31627bdd51fbe57a4580a5"},{"fixed":"538c5488130da56c8442d33445efe3c1fe5ea8b8"},{"fixed":"1962276254aabc5420de266a8cb672433ce955ff"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"1.7.0"}]},{"strategy":"StringRangeExpression","range":[{"introduced":"2.0.0-alpha"},{"fixed":"2.0.0-rc.3"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"2.1.0-dev.0"},{"fixed":"2.1.0-preview"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"1962276254aabc5420de266a8cb672433ce955ff"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.7.0","range":[{"fixed":"425913bdc743ef44236daf472ec53c2c05b75fa1"}],"source":"REFERENCES_TAG"},{"original_tag":"v2.0.0-rc.3","range":[{"fixed":"fa209f898baa38ddfdcb73b95d2cb3ff3d428c36"}],"source":"REFERENCES_TAG"},{"range":[{"fixed":"538c5488130da56c8442d33445efe3c1fe5ea8b8"}],"source":"REFERENCES_TAG","original_tag":"v2.1.0-preview"}]}}],"versions":["v1.6.0","v1.5.0","v1.5.0-rc.1","v1.5.0-rc.0","v1.4.3","v1.4.3-rc.0","v1.4.2","v1.4.2-rc.1","v1.4.2-rc.0","v1.4.1","v1.4.1-rc.5","v1.4.1-rc.4","v1.4.1-rc.3","v1.4.1-rc.2","v1.4.1-rc.1","v1.4.1-rc.0","v1.4.0","v1.4.0-rc.6","v1.4.0-rc.10","v1.4.0-rc.9","v1.4.0-rc.8","v1.4.0-rc.7","v1.4.0-rc.5","v1.3.0","v1.3.0-rc.1","v1.2.1-rc.1","v1.2.1-rc.0","v1.2.0","v1.1.2","v1.1.1","v1.1.1-rc.1","v1.1.0","v1.0.0","v1.0.0-rc.2","v1.0.0-rc.1","v1.0.0-rc.0","v0.1.1-alpha","v0.1.0-alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62335.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}