smol-toml is a small, fast, and correct TOML parser and serializer. Prior to 1.7.1, parse() can enter an…
Historical advisory recorded 25 Oct 2026 16:19:16 UTC. Read the latest advisory.
nvd · CVE-2026-85730
Publishedsmol-toml is a small, fast, and correct TOML parser and serializer. Prior to 1.7.1, parse() can enter an infinite loop when a value inside an array or inline table is followed by a comment with no trailing newline. In src/util.ts, skipUntil() calls indexOfNewline(), receives -1 at the end of input, and resets the cursor to the beginning of the string instead of leaving the structure scan. The parser then hangs indefinitely and can consume a service's processing capacity when an application parses attacker-controlled TOML. This issue is fixed in version 1.7.1.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-85730
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-606 · CWE-835
Original publisher date fields
published: 2026-09-04T16:18:23.417
lastModified: 2026-09-09T21:09:13.080
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON