CVE-2026-46378

Source
https://cve.org/CVERecord?id=CVE-2026-46378
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46378.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46378
Aliases
Downstream
Related
Published
2026-07-16T17:54:51.705Z
Modified
2026-07-17T03:45:42.972714797Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46378.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/tomwright/dasel

Affected ranges

Type
GIT
Repo
https://github.com/tomwright/dasel
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.10.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v3.*
v3.0.0
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.10.0
v3.2.0
v3.2.1
v3.2.2
v3.2.3
v3.3.0
v3.3.1
v3.3.2
v3.4.0
v3.4.1
v3.5.0
v3.6.0
v3.7.0
v3.8.0
v3.8.1
v3.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46378.json"