Red Hat VEX
RHVEX-CVE-2026-85730
smol-toml: smol-toml: Denial of Service via malformed TOML documents
Details
A flaw was found in smol-toml, a TOML parser and serializer. A remote attacker could exploit an infinite loop in the parse() function by providing a specially crafted TOML document. This occurs when a value within an array or inline table is followed by a comment without a trailing newline. Successful exploitation leads to a Denial of Service (DoS), causing the parser to hang indefinitely and consume service processing capacity.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | cockpit-image-builder | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-85730
- https://bugzilla.redhat.com/show_bug.cgi?id=2528569
- https://www.cve.org/CVERecord?id=CVE-2026-85730
- https://nvd.nist.gov/vuln/detail/CVE-2026-85730
- https://github.com/squirrelchat/smol-toml/commit/30f5c367d946b695f379b5d4f0946b2f0a0a8c2f
- https://github.com/squirrelchat/smol-toml/releases/tag/v1.7.1
- https://github.com/squirrelchat/smol-toml/security/advisories/GHSA-7w5x-hrqm-74c2