# CVE-2026-117680: jsv treats regex match budget exhaustion as a non-match, bypassing patternProperties and not

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-01T13:29:36.681Z
- Modified: 2026-11-25T06:30:18.122Z
- Also known as: EEF-CVE-2026-117680, GHSA-cvmg-hgv6-jqcp
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

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

This issue affects jsv: from 0.1.0 before 0.26.2.

(As written by CVE List.)

## Affected

- jsv: from 0.1.0 before 0.26.2
- lud/jsv: from 302a5d0803468f81a1cf08e3b67d8b14cee759ca before defdb8a68ac7f218aa5dfe85190d484017cb8817
- jsv (Hex): from 0.1.0 before 0.26.2
- https://github.com/lud/jsv: from 302a5d0803468f81a1cf08e3b67d8b14cee759ca before defdb8a68ac7f218aa5dfe85190d484017cb8817

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/lud/jsv/security/advisories/GHSA-cvmg-hgv6-jqcp> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-117680.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-117680> (related)
- <https://github.com/lud/jsv/commit/302a5d0803468f81a1cf08e3b67d8b14cee759ca> (related, web)
- <https://github.com/lud/jsv/commit/defdb8a68ac7f218aa5dfe85190d484017cb8817> (fix, patch)
- <https://hex.pm/packages/jsv> (package)

## Sources

- CVE List: [CVE-2026-117680](https://www.cve.org/CVERecord?id=CVE-2026-117680), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-117680](https://osv.dev/vulnerability/EEF-CVE-2026-117680), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-117680](https://nvd.nist.gov/vuln/detail/CVE-2026-117680), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-117680 · Whole record: https://cve.day/CVE-2026-117680.json · Rebuilt by cve.day 2026-11-25T22:59:48.100Z
