Skip to main content
CVE-2026-140436VulnerabilityPublished

Improper Restriction of Recursive Entity References vulnerability in YamlElixir.Mapper in KamilLelonek yaml_elixir

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-140436· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 2.13.0 when convenient.

Data as of 4 Dec 2026, 10:45 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.06.9
Patch
Available – fixed in 2.13.0, add27450860201caf63ea445a1e6f00ce8267250
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade yaml_elixir to 2.13.0; yaml_elixir to add27450860201caf63ea445a1e6f00ce8267250.

Affected software

ProductAffectedFixed in
KamilLelonekyaml_elixirAffected
  • >=0.0.1 <2.13.0
Fixed in
  • 2.13.0
yaml_elixirkamillelonek/yaml-elixirAffected
  • ≥ dd8e152738f2396c16bf537267fe0f4ce66cada4, < add27450860201caf63ea445a1e6f00ce8267250
Fixed in
  • add27450860201caf63ea445a1e6f00ce8267250
Hexyaml_elixirpkg:hex/yaml_elixirOther threatsAffected
  • >=0.0.1 <2.13.0
Fixed in
  • 2.13.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid processing untrusted YAML documents with nested anchors and aliases using YamlElixir.

Description

YamlElixir versions before 2.13.0 contain a vulnerability in the Mapper module that allows an attacker to cause memory exhaustion on the BEAM node by crafting a YAML document with nested anchors and aliases. The vulnerability arises because the process function recursively copies anchored nodes for each alias, causing exponential growth in memory usage with nesting depth.

References

Community reviews

Loading reviews…