EnvMap GitHub

CVE-2026-140436

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

EPSS 0.25%Received

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.

In the words of the organisation that published it (EEF).

Severity

  • 6.9 Medium · CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db · 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

Affected

  • KamilLelonek yaml_elixir: from 0.0.1 before 2.13.0; from dd8e152738f2396c16bf537267fe0f4ce66cada4 before add27450860201caf63ea445a1e

as the publisher (EEF) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.25% chance of exploitation in the next 30 days, higher than 17% of all CVEs (as of 4 December 2026).

Weakness

CWE-776

References

Record

Published07:17 UTC, 4 December 2026
Last changed07:17 UTC, 4 December 2026
NVD statusReceived
Published byEEF

CVE-2026-140436 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.