cve.bz

CVE-2026-85730 squirrelchat smol-toml: Unchecked Input for Loop Condition

8.2 highEPSS 0.5%Fix available

High (8.2) in squirrelchat smol-toml. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in smol-toml 1.7.1.

On this page
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.

Severity

CVSS 4.0

8.2 high
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-606 Unchecked Input for Loop Condition
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • smol-toml (npm): fixed in 1.7.1

Ask an AI about this CVE

Show the promptExplain CVE-2026-85730 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-85730?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-85730?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-85730 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
squirrelchat smol-toml< 1.7.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7w5x-hrqm-74c2npmsmol-toml<1.7.11.7.1

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity because it allows unauthenticated remote callers to trigger complete denial of service through sustained processor exhaustion without requiring privileges or user interaction. Within Red Hat environments, smol-toml is packaged as a dependency for web services and containerized developer tooling. The practical risk depends on whether an application exposes public interfaces that accept and parse untrusted configuration payloads, whereas services consuming only administrator-provided or local configuration files remain unaffected by remote exploitation.

ProductPackageStateAdvisory
Red Hat OpenShift AI 3.4rhoai/odh-feature-server-rhel9:1791863220Fixed 2026-10-19RHSA-2026:84734
Red Hat Ansible Automation Platform 2automation-gatewayNot affected
Red Hat Ansible Automation Platform 2automation-platform-uiNot affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitAffected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Not affected
Red Hat Enterprise Linux 10cockpit-image-builderAffected
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened Imagesgrafana13.2Not affected
Red Hat Hardened ImagesjaegerNot affected
Red Hat Hardened ImagesruffNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-85730.

References

Check your stackJSON