CVE-2026-46378CWE-835

Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal

Medium · published July 16, 2026

CVSS v3.1
6.2
EPSS
0%
Percentile
4.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00160 · 4.9th percentile
Weakness
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2026-07-16T17:54Z
EPSS history
Timeline
  • 16 JUL 17:54Z
    Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal
    cvelistv5