Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-77465

Опубликовано: 03 сент. 2026
Источник: redhat
CVSS3: 3.5
EPSS Низкий

Описание

toml-node is a TOML parser for Node.js and the browser. Prior to 4.2.0, toml.parse() uses a Peggy 5.1.0 generated recursive-descent parser in lib/parser.js whose peg$parsevalue, peg$parsearray, and peg$parseinline_table_entry functions recurse through nested arrays and inline tables without a depth limit. A remote unauthenticated application parsing an attacker-controlled TOML document containing a few thousand nested arrays or inline tables can exhaust the Node.js call stack, raise an unexpected RangeError rather than the parser's SyntaxError, and terminate an unprotected request worker or process. The corresponding grammar source is src/toml.pegjs, where the generated parser must be bounded. This issue is fixed in version 4.2.0.

A flaw was found in toml-node. A remote, unauthenticated attacker can exploit an uncontrolled recursion vulnerability in the TOML parser by crafting a malicious TOML document with deeply nested arrays or inline tables. This can lead to the exhaustion of the Node.js call stack, causing a RangeError and terminating the application process, resulting in a Denial of Service (DoS).

Отчет

The toml npm package is bundled in cockpit-image-builder, but the vulnerable TOML parser is only invoked client-side when an authenticated user manually uploads a blueprint file. The parsing error is caught, limiting impact to a browser-side error notification. Red Hat rates this as Low impact.

Меры по смягчению последствий

No mitigation is required. The vulnerable parser runs only in the user's browser when they actively upload a TOML blueprint file, and the application's error handling catches the resulting exception.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10cockpit-image-builderFix deferred

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-606
https://bugzilla.redhat.com/show_bug.cgi?id=2528258toml-node: toml-node: Denial of Service via uncontrolled recursion in TOML parsing

EPSS

Процентиль: 29%
0.00358
Низкий

3.5 Low

CVSS3

Связанные уязвимости

CVSS3: 7.5
nvd
14 дней назад

toml-node is a TOML parser for Node.js and the browser. Prior to 4.2.0, toml.parse() uses a Peggy 5.1.0 generated recursive-descent parser in lib/parser.js whose peg$parsevalue, peg$parsearray, and peg$parseinline_table_entry functions recurse through nested arrays and inline tables without a depth limit. A remote unauthenticated application parsing an attacker-controlled TOML document containing a few thousand nested arrays or inline tables can exhaust the Node.js call stack, raise an unexpected RangeError rather than the parser's SyntaxError, and terminate an unprotected request worker or process. The corresponding grammar source is src/toml.pegjs, where the generated parser must be bounded. This issue is fixed in version 4.2.0.

CVSS3: 7.5
github
14 дней назад

toml-node: Uncontrolled Recursion

EPSS

Процентиль: 29%
0.00358
Низкий

3.5 Low

CVSS3