Skip to content
Fencer Intel
high 8.2

CVE-2026-85730 json

smol-toml: Denial of Service via malformed TOML documents

published 3mo ago modified 2mo ago also EUVD-2026-71261 , GHSA-7w5x-hrqm-74c2

cvss
8.2
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 44%
public exploits
0
none known

Summary

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.

Patch / fix

Is CVE-2026-85730 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-85730 updated cvss 7.5

smol-toml: smol-toml: Denial of Service via malformed TOML documents

  • Red Hat Build of Podman Desktop rh-podman-desktop.git 1.1.0 Red Hat Enterprise Linux 10 cockpit-image-builder 110-1.el10
    affected: no fix available
  • Red Hat OpenShift AI 3.4 rhoai/odh-feature-server-rhel9 1791863220
    fixed: vendor fix RHSA-2026:84734
  • Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.13-1.el9ap, automation-gateway 2.5.20260824-1.el8ap
    not affected: component not present
  • Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9
    not affected: vulnerable code not in execute path
  • Red Hat Hardened Images ruff 0.15.11-1.1.hum1, jaeger 2.20.0-0.8.hum1, grafana13.1 13.1.3-0.5.hum1, grafana13.2 13.2.1-0.1.hum1
    not affected: component not present
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9 Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1791509689, rhoai/rhai-cli-rhel9 1791509689, rhoai/odh-automl-rhel9 1791535789, rhoai/odh-mlflow-rhel9 1791865967, rhoai/odh-autorag-rhel9 1791557539, rhoai/odh-trainer-rhel9 1791869783, +99 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2mo ago

Exploit prediction

0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • github.com https://github.com/squirrelchat/smol-toml/security/advisories/GHSA-7w5x-hrqm-74c2 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 8.2 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CNA 4.0 8.2 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
npm smol-toml
<1.7.1
1.7.1

Affected products

  • squirrelchat smol-toml

Classification

Weakness
  • CWE-606 Unchecked Input for Loop Condition
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of squirrelchat/smol-toml published their own advisory on GitHub. Reviewed sources take precedence over it.