CVE-2026-85730 smol-toml: Denial of Service via malformed TOML documents
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/squirrelchat/smol-toml/security/advisories/GHSA-7w5x-hrqm-74c2 exploit vendor-advisory
- https://github.com/squirrelchat/smol-toml/commit/30f5c367d946b695f379b5d4f0946b2f0a0a8c2f patch
- https://github.com/squirrelchat/smol-toml/releases/tag/v1.7.1
- https://medium.com/@ravindu.lakmina1/seven-bytes-that-freeze-a-node-js-server-forever-the-story-of-cve-2026-85730-3213328b38f0
- Red Hat CVE page vendor-advisory
- RHSA-2026:84734 patch vendor-advisory
- Red Hat Bugzilla 2528569 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-71261 third-party-advisory