{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "302a5d0803468f81a1cf08e3b67d8b14cee759ca"
                  },
                  {
                    "fixed": "defdb8a68ac7f218aa5dfe85190d484017cb8817"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0.1.0"
                  },
                  {
                    "fixed": "0.26.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "302a5d0803468f81a1cf08e3b67d8b14cee759ca"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "defdb8a68ac7f218aa5dfe85190d484017cb8817"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "302a5d0803468f81a1cf08e3b67d8b14cee759ca"
            },
            {
              "fixed": "defdb8a68ac7f218aa5dfe85190d484017cb8817"
            },
            {
              "fixed": "c971583fc23b4a56381885d50b5e2bc8e918b579"
            },
            {
              "fixed": "302a5d0803468f81a1cf08e3b67d8b14cee759ca"
            }
          ],
          "repo": "https://github.com/lud/jsv",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cvmg-hgv6-jqcp"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-754"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117680.json"
  },
  "details": "Improper Check for Unusual or Exceptional Conditions vulnerability in the pattern and patternProperties keywords in lud jsv allows an unauthenticated remote attacker to bypass schema validation via a string that matches a schema regex only after heavy backtracking. JSV.Helpers.RegexExt.bounded_match?/2 runs schema regexes with a backtracking budget but calls :re.run/3 without :report_errors, so a match that exhausts the budget returns the same :nomatch as a real non-match. A key that matches a patternProperties regex is then checked against additionalProperties or not at all, and a string that matches a not subschema with a pattern is accepted. Before the budget existed, Regex.match?/2 failed the same way at Erlang's default match limit.\n\nOnly schemas whose regex explores a catastrophic branch before the branch that matches are affected. The attacker controls the data, not the schema, and linear patterns never exhaust the budget.\n\nThis issue affects jsv: from 0.1.0 before 0.26.2.",
  "id": "CVE-2026-117680",
  "modified": "2026-11-19T07:45:20.957766746Z",
  "published": "2026-11-01T13:29:36.681Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-117680.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-117680"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117680.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lud/jsv/security/advisories/GHSA-cvmg-hgv6-jqcp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-117680"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lud/jsv/commit/302a5d0803468f81a1cf08e3b67d8b14cee759ca"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lud/jsv/commit/defdb8a68ac7f218aa5dfe85190d484017cb8817"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lud/jsv"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "jsv treats regex match budget exhaustion as a non-match, bypassing patternProperties and not"
}