CVE-2026-117680
published low CVSS 4.0 · 2.1jsv treats regex match budget exhaustion as a non-match, bypassing patternProperties and not
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lud | — | jsv0.1.0 to < 0.26.2 · Other versions: unaffected | Affected | Not stated | EEF |
| lud | — | lud/jsvjsv · 302a5d0803468f81a1cf08e3b67d8b14cee759ca to < defdb8a68ac7f218aa5dfe85190d484017cb8817 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lud | jsv | 0.1.0 to < 0.26.2 (affected · semver)Default: unaffected | EEF · cna |
| lud | jsv | 302a5d0803468f81a1cf08e3b67d8b14cee759ca to < defdb8a68ac7f218aa5dfe85190d484017cb8817 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-754 CWE-754 Improper Check for Unusual or Exceptional Conditions
References
5- EEF CNA record for CVE-2026-117680 https://cna.erlef.org/cves/CVE-2026-117680.html
- Introducing commit 302a5d0 in lud/jsv https://github.com/lud/jsv/commit/302a5d0803468f81a1cf08e3b67d8b14cee759ca
- Fix commit defdb8a in lud/jsv https://github.com/lud/jsv/commit/defdb8a68ac7f218aa5dfe85190d484017cb8817
- Regex match budget exhaustion is treated as a non-match, bypassing `patternProperties` and `not` https://github.com/lud/jsv/security/advisories/GHSA-cvmg-hgv6-jqcp
- OSV record EEF-CVE-2026-117680 https://osv.dev/vulnerability/EEF-CVE-2026-117680
Provider assertions
2EEF · cna
jsv treats regex match budget exhaustion as a non-match, bypassing patternProperties and not
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 32cae3910937ade53141d042d7d20ddf151b70a393044dd9fb33b8cda663821f
- Ingested
- 19 Nov 2026, 07:01:28 UTC
- Source record
- Official CVE record