Bug 2531877 - CVE-2026-85730 markdownlint-cli2: smol-toml: Denial of Service via malformed TOML documents [fedora-all]
Summary: CVE-2026-85730 markdownlint-cli2: smol-toml: Denial of Service via malformed ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: markdownlint-cli2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Fabio Porcedda
QA Contact:
URL:
Whiteboard: {"flaws": ["6d2cdc33-fb0c-4ec7-bc4e-a...
Depends On:
Blocks: CVE-2026-85730
TreeView+ depends on / blocked
 
Reported: 2026-09-11 13:29 UTC by Marian Rehak
Modified: 2026-10-12 01:15 UTC (History)
1 user (show)

Fixed In Version: markdownlint-cli2-0.23.3-1.fc44 markdownlint-cli2-0.23.3-1.fc43
Clone Of:
Environment:
Last Closed: 2026-10-12 01:02:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-09-11 13:29:26 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.

Comment 1 Fedora Update System 2026-10-10 09:44:01 UTC
FEDORA-2026-e67ee28d98 (markdownlint-cli2-0.23.3-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e67ee28d98

Comment 2 Fedora Update System 2026-10-10 09:45:27 UTC
FEDORA-2026-af15ed670a (markdownlint-cli2-0.23.3-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-af15ed670a

Comment 3 Fedora Update System 2026-10-10 09:47:40 UTC
FEDORA-2026-2c004657ff (markdownlint-cli2-0.23.3-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-2c004657ff

Comment 4 Fedora Update System 2026-10-12 01:02:17 UTC
FEDORA-2026-2c004657ff (markdownlint-cli2-0.23.3-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-10-12 01:15:25 UTC
FEDORA-2026-af15ed670a (markdownlint-cli2-0.23.3-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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