CVE-2026-46378

NameCVE-2026-46378
DescriptionDasel 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dasel (PTS)trixie2.8.1-1fixed
forky3.11.2-1fixed
sid3.11.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
daselsourcetrixie(not affected)
daselsource(unstable)3.11.0-1

Notes

[trixie] - dasel <not-affected> (Vulnerable code not present)
https://github.com/TomWright/dasel/security/advisories/GHSA-m6xr-fvfg-5g64
Fixed by: https://github.com/TomWright/dasel/commit/95f8dd3af12958bf6ca2a737b3ec0267280f86ed (v3.10.1)

Search for package or bug name: Reporting problems