Skip to content

CVE-2026-85730 smol-toml: Denial of Service via malformed TOML documents

HighCVSS 8.2 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

5 packages: 1 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat/cockpit-image-builder(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/rh-podman-desktop.git(Red Hat podman_desktop 1) All versions No fix listed No fix yet
redhat/rhoai/odh-feature-server-rhel9:1791863220(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
npm smol-toml(npm) < 1.7.1; <= 1.7.0 1.7.1 Fixed
squirrelchat smol-toml = < 1.7.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
squirrelchat smol-toml = < 1.7.1 No fix listed
redhat/rhoai/odh-feature-server-rhel9:1791863220(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) All versions No fix listed
redhat/cockpit-image-builder(Red Hat:enterprise_linux:10) All versions No fix listed
npm smol-toml(npm) <= 1.7.0 No fix listed
npm smol-toml(npm) < 1.7.1 1.7.1

References