Security mailing lists by PureSourceCode

CVE-2026-140436

MEDIUM 6.9CVSS 4.0

yaml_elixir: exponential alias expansion in YamlElixir.Mapper allows memory exhaustion

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.

Published
4 Dec 2026
Last modified
4 Dec 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Received
Weakness
CWE-776
Also known as
EEF-CVE-2026-140436GHSA-598v-rvxm-fcp8
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-140436JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 6.9 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
CVE List EEF CVSS 4.0 MEDIUM 6.9 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm yaml_elixir
cpe:2.3:a:kamillelonek:yaml_elixir:*:*:*:*:*:*:*:*
>= 0.0.1, < 2.13.0 2.13.0
CVE List https://github.com kamillelonek/yaml-elixir
cpe:2.3:a:kamillelonek:yaml_elixir:*:*:*:*:*:*:*:*
>= dd8e152738f2396c16bf537267fe0f4ce66cada4, < add27450860201caf63ea445a1e6f00ce8267250 add27450860201caf63ea445a1e6f00ce8267250
OSV Hex yaml_elixir >= 0.0.1, < 2.13.0 2.13.0

References

History

  • 4 Dec 2026 09:09 UTC · NVD: first stored (published 4 Dec 2026)
  • 4 Dec 2026 07:09 UTC · OSV: first stored (published 4 Dec 2026)
  • 4 Dec 2026 06:56 UTC · CVE List: first stored (published 4 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.