{"id":"CVE-2026-62866","revision":"b9b058628956403b9cfe165510d6cd6d","records":[{"revision":"b9b058628956403b9cfe165510d6cd6d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-62866","aliases":[],"title":"Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`","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.","state":0,"publishedAt":"2026-09-21T16:51:18.52+00:00","modifiedAt":"2026-09-21T18:00:18.178+00:00","affected":[{"ecosystem":"Vendor product","name":"dasel","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"TomWright\",\n                    \"product\": \"dasel\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 3.0.0, < 3.11.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":"MEDIUM"}],"references":["https://github.com/TomWright/dasel/security/advisories/GHSA-65gg-g7rw-6cpc","https://github.com/TomWright/dasel/commit/eee03aec28d4a33d6138098d065b7b37b85e3c55","https://github.com/TomWright/dasel/releases/tag/v3.11.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-62866","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-62866","identifiers":["CVE-2026-62866"]},"retained":false,"historicalAffected":[]}],"coverage":[]}