Bug 2528569 (CVE-2026-85730) - CVE-2026-85730 smol-toml: smol-toml: Denial of Service via malformed TOML documents
Summary: CVE-2026-85730 smol-toml: smol-toml: Denial of Service via malformed TOML doc...
Keywords:
Status: NEW
Alias: CVE-2026-85730
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2531864 2531865 2531866 2531867 2531877
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-04 15:35 UTC by OSIDB Bzimport
Modified: 2026-09-11 13:29 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-04 15:35:04 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.