CVE-2026-62866
published medium CVSS 3.1 · 6.2Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TomWright | — | dasel>= 3.0.0, < 3.11.2 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | dasel | Fixed | 3.11.2-r0 | Package fix record |
Description
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TomWright | dasel | >= 3.0.0, < 3.11.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
3Provider assertions
2GitHub_M · cna
Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a77aecee380a01b50bceb253764193dec826c418dabeb004415dd9f8edcb98db
- Ingested
- 23 Sep 2026, 09:25:01 UTC
- Source record
- Official CVE record