StraitOfVuln
Latest / CVE-2026-140436

CVE-2026-140436

MediumCVSS 6.9 (v4.0)Received
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-140436
Published / updated
04 Dec 2026, 07:17 UTC · last modified 04 Dec 2026, 07:17 UTC
Severity
MEDIUM
CVSS score
6.9 · v4.0 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: Local
Affected vendor
KamilLelonek
Affected products
yaml_elixir
Affected versions
yaml_elixir: 0.0.1 to before 2.13.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
yaml_elixir 2.13.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
—
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db