Bug 2558075 - CVE-2026-73643 fcitx5: js-yaml: Denial of Service via exponential parsing in flow collections [fedora-all]
Summary: CVE-2026-73643 fcitx5: js-yaml: Denial of Service via exponential parsing in ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fcitx5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Qiyu Yan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["13046a2c-3aba-4f35-9014-9...
Depends On:
Blocks: CVE-2026-73643
TreeView+ depends on / blocked
 
Reported: 2026-10-21 06:22 UTC by Florencio Cano
Modified: 2026-10-21 06:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Florencio Cano 2026-10-21 06:22:37 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 until 5.2.2, parsing a small YAML document can take exponential time when an application calls load() or loadAll() on untrusted input. In src/parser/parser.ts, readFlowCollection uses restoreState and calls parseNode a second time when a flow-sequence entry is recognized as a key: value pair. If the key is a nested flow sequence of the same shape, every level is parsed twice, causing O(2^n) work and allowing an input under 200 bytes to keep one CPU busy for minutes, block the Node.js event loop, and stall the process. No anchors, aliases, merges, tags, or nondefault options are required. This issue is fixed in version 5.2.2.


Note You need to log in before you can comment on or make changes to this bug.