CVE-2026-46378
published medium CVSS 3.1 · 6.2Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TomWright | — | dasel>= 3.0.0, < 3.10.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | dasel | Fixed | 3.11.2-r0 | Package fix record |
Description
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to consume CPU indefinitely. This issue is fixed in version 3.10.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TomWright | dasel | >= 3.0.0, < 3.10.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
2Provider assertions
2GitHub_M · cna
Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea1c778cc52f6c1f5cac6f5757476a2279529e735ce330ee795837bee1d81025
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record