Improper Restriction of Recursive Entity References vulnerability in YamlElixir.Mapper in KamilLelonek yaml_elixir
Source GCVE Database
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
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 6.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:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| KamilLelonekyaml_elixir | Affected
| Fixed in
|
| yaml_elixirkamillelonek/yaml-elixir | Affected
| Fixed in
|
Hexyaml_elixirpkg:hex/yaml_elixirOther threats | Affected
| Fixed in
|
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
- github.com/KamilLelonek/yaml-elixir/security/advisories/GHSA-598v-rvxm-fcp8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140436 (opens in a new tab)
- github.com/KamilLelonek/yaml-elixir/commit/add27450860201caf63ea445a1e6f00ce8267250 (opens in a new tab)
- github.com/KamilLelonek/yaml-elixir/commit/dd8e152738f2396c16bf537267fe0f4ce66cada4 (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-140436.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-140436 (opens in a new tab)