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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.1
- **CVSS:** 2.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 13, 2026-11-28)
- **CWE:** CWE-754
- **Published:** 2026-11-01T13:29:36.681Z
- **Modified:** 2026-11-19T06:57:23.229Z

## Who should check

- Anyone running lud jsv \>= 0.1.0, \< 0.26.2
- Anyone running lud jsv \>= 302a5d0803468f81a1cf08e3b67d8b14cee759ca, \< defdb8a68ac7f218aa5dfe85190d484017cb8817

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

## Affected and fixed versions

- lud jsv: \>= 0.1.0, \< 0.26.2 (cvelist)
- lud jsv: \>= 302a5d0803468f81a1cf08e3b67d8b14cee759ca, \< defdb8a68ac7f218aa5dfe85190d484017cb8817 (cvelist)

## Mitigation

- Upgrade jsv to 0.26.2 or later.
- Vendor workaround: Pair patternProperties with additionalProperties: false. A key whose match exhausts the budget is then rejected instead of accepted unchecked. Valid keys that need heavy backtracking are rejected as well.
- 
- Write schema regexes without nested quantifiers or overlapping alternatives, and do not express deny-lists as a not subschema with a pattern on untrusted input.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-117680. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-117680.md
Affected: lud jsv >= 0.1.0, < 0.26.2; lud jsv >= 302a5d0803468f81a1cf08e3b67d8b14cee759ca, < defdb8a68ac7f218aa5dfe85190d484017cb8817
Fixed in: lud jsv 0.26.2

Steps:
1. Search this machine and project for lud jsv: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-117680 being exploited?

There is no confirmed exploitation: CVE-2026-117680 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-117680?

Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-117680?

lud jsv \>= 0.1.0, \< 0.26.2; lud jsv \>= 302a5d0803468f81a1cf08e3b67d8b14cee759ca, \< defdb8a68ac7f218aa5dfe85190d484017cb8817.

### Is there a fix for CVE-2026-117680?

Yes. Fixed in lud jsv 0.26.2. Upgrade jsv to 0.26.2 or later. Vendor workaround: Pair patternProperties with additionalProperties: false. A key whose match exhausts the budget is then rejected instead of accepted unchecked. Valid keys that need heavy backtracking are rejected as well.  Write schema regexes without nested quantifiers or overlapping alternatives, and do not express deny-lists as a not subschema with a pattern on untrusted input.

### How do I check if I'm affected by CVE-2026-117680?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/lud/jsv/security/advisories/GHSA-cvmg-hgv6-jqcp>
- patch: <https://github.com/lud/jsv/commit/302a5d0803468f81a1cf08e3b67d8b14cee759ca>
- patch: <https://github.com/lud/jsv/commit/defdb8a68ac7f218aa5dfe85190d484017cb8817>
- other: <https://cna.erlef.org/cves/CVE-2026-117680.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-117680>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-117680>

HTML: <https://flawdb.com/CVE-2026-117680> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-117680>
