Bug 2590746 (CVE-2026-140436) - CVE-2026-140436 yaml_elixir: yaml_elixir: Denial of Service via recursive reference expansion in YAML documents
Summary: CVE-2026-140436 yaml_elixir: yaml_elixir: Denial of Service via recursive ref...
Keywords:
Status: NEW
Alias: CVE-2026-140436
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-04 06:42 UTC by OSIDB Bzimport
Modified: 2026-12-04 08:17 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-04 06:42:14 UTC
Improper Restriction of Recursive Entity References vulnerability in YamlElixir.Mapper in KamilLelonek yaml_elixir allows an attacker to exhaust the memory of the BEAM node via a YAML document with nested anchors and aliases.

yamerl resolves each alias to the term of its anchor, so the parsed document stays as small as the input. YamlElixir.Mapper.process/2 in lib/yaml_elixir/mapper.ex walks that document as a tree and builds a new copy of the anchored node for every alias. With nested anchors, the size of the result grows exponentially with the nesting depth. All YamlElixir.read_* functions are affected with their default options.

This issue affects yaml_elixir: from 0.0.1 before 2.13.0.


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