Loop with Unreachable Exit Condition ('Infinite Loop') Affecting vale package, versions <3.14.2-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-VALE-16780485
  • published21 May 2026
  • disclosed16 Jul 2026

Introduced: 21 May 2026

CVE-2026-46378  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Wolfi vale to version 3.14.2-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vale package and not the vale package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.