CVE-2026-46378Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated…
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | dasel | Fix pending | UBUNTU-CVE-2026-46378 | |
| Ubuntu 26.04 | dasel | Under investigation | UBUNTU-CVE-2026-46378 | |
| Ubuntu 24.04 | dasel | Fix pending | UBUNTU-CVE-2026-46378 | |
| Debian 14 | dasel | Fixed | 3.11.0-1 | DEBIAN-CVE-2026-46378 |
| Go library | github.com/tomwright/dasel | Fix pending | GO-2026-5493 | |
| Go library | github.com/tomwright/dasel/v2 | Fix pending | GO-2026-5493 | |
| Go library | github.com/tomwright/dasel/v3 | Fixed | 3.10.1 | GHSA-m6xr-fvfg-5g64 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- TomWright dasel: affected: >= 3.0.0, < 3.10.1
References
- https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64
- https://github.com/TomWright/dasel/commit/95f8dd3af12958bf6ca2a737b3ec0267280f86ed
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.