PT-2026-168048
CVE-2026-140436
·
Published
2026-12-04
·
Updated
2026-12-04
Description by
CVSS 4.0
6.9
MediumMetricsAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
yaml elixir versions 0.0.1 through 2.12.x
Description
An improper restriction of recursive entity references in
YamlElixir.Mapper allows an attacker to exhaust the memory of the BEAM node. This occurs when the software processes a YAML document containing nested anchors and aliases. While the initial parsing remains small, the process/2 function in lib/yaml elixir/mapper.ex walks the document as a tree and creates a new copy of the anchored node for every alias, causing the result size to grow exponentially with the nesting depth. This issue affects all YamlElixir.read * functions when used with default options. An attacker providing a specially crafted YAML document can cause the parsing process to consume all available memory, potentially crashing the entire BEAM node and all applications running on it.Recommendations
Update yaml elixir to version 2.13.0 or later.
As a temporary workaround, parse untrusted YAML in a separate process with a
max heap size limit and kill: true configured via Process.flag/2 to ensure only the parsing process is terminated upon exceeding memory limits.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾