smol-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.
History

Wed, 09 Sep 2026 16:45:00 +0000


Mon, 07 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Squirrelchat
Squirrelchat smol-toml
Vendors & Products Squirrelchat
Squirrelchat smol-toml

Sat, 05 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Fri, 04 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description smol-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.
Title smol-toml: Denial of Service via malformed TOML documents
Weaknesses CWE-606
CWE-835
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-09-04T15:21:14.948Z

Updated: 2026-09-09T16:34:08.718Z

Reserved: 2026-09-04T14:45:10.649Z

Link: CVE-2026-85730

cve-icon Vulnrichment

Updated: 2026-09-04T17:40:45.655Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T16:18:23.417

Modified: 2026-09-09T21:09:13.080

Link: CVE-2026-85730

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-04T15:21:14Z

Links: CVE-2026-85730 - Bugzilla