Bug 2531867 - CVE-2026-85730 forgejo: smol-toml: Denial of Service via malformed TOML documents [fedora-all]
Summary: CVE-2026-85730 forgejo: smol-toml: Denial of Service via malformed TOML docum...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["6d2cdc33-fb0c-4ec7-bc4e-a...
Depends On:
Blocks: CVE-2026-85730
TreeView+ depends on / blocked
 
Reported: 2026-09-11 12:40 UTC by Marian Rehak
Modified: 2026-09-11 12:40 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Marian Rehak 2026-09-11 12:40:31 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.