{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "2.0.0-alpha"
                  },
                  {
                    "fixed": "2.0.0-rc.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "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"
              },
              {
                "original_tag": "v2.1.0-preview",
                "range": [
                  {
                    "fixed": "538c5488130da56c8442d33445efe3c1fe5ea8b8"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "425913bdc743ef44236daf472ec53c2c05b75fa1"
            },
            {
              "introduced": "48776981b8ba2443354044986f4c480ed57453a4"
            },
            {
              "fixed": "fa209f898baa38ddfdcb73b95d2cb3ff3d428c36"
            },
            {
              "introduced": "4d410f21fd90a05e7f31627bdd51fbe57a4580a5"
            },
            {
              "fixed": "538c5488130da56c8442d33445efe3c1fe5ea8b8"
            },
            {
              "fixed": "1962276254aabc5420de266a8cb672433ce955ff"
            }
          ],
          "repo": "https://github.com/openvm-org/openvm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w82q-w67c-67wv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62335.json"
  },
  "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.",
  "id": "CVE-2026-62335",
  "modified": "2026-11-08T02:30:52.273484065Z",
  "published": "2026-10-30T20:03:14.543Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenVM's OpenVmHalo2Verifier accepts non-canonical app commitments"
}