KamilLelonek yaml_elixir up to 2.12.0 Mapper mapper.ex YamlElixir.Mapper.process xml entity expansion
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.64+ |
Summary
A vulnerability, which was classified as problematic, was found in KamilLelonek yaml_elixir up to 2.12.0. This impacts the function YamlElixir.Mapper.process of the file lib/yaml_elixir/mapper.ex of the component Mapper. Such manipulation leads to xml entity expansion.
This vulnerability is uniquely identified as CVE-2026-140436. The attack can be launched remotely. No exploit exists.
You should upgrade the affected component.
Details
A vulnerability was found in KamilLelonek yaml_elixir up to 2.12.0. It has been rated as problematic. Affected by this issue is the function YamlElixir.Mapper.process of the file lib/yaml_elixir/mapper.ex of the component Mapper. The manipulation with an unknown input leads to a xml entity expansion vulnerability. Using CWE to declare the problem leads to CWE-776. The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities. Impacted is availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-140436 since 12/02/2026. The exploitation is known to be easy. The attack may be launched remotely. There are known technical details, but no exploit is available.
Upgrading to version 2.13.0 eliminates this vulnerability.
Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Xml entity expansionCWE: CWE-776
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: yaml_elixir 2.13.0
Timeline
12/02/2026 CVE reserved12/04/2026 Advisory disclosed
12/04/2026 VulDB entry created
12/04/2026 VulDB entry last update
Sources
Advisory: github.comStatus: Confirmed
CNA: EEF
CVE: CVE-2026-140436 (🔒)
GCVE (CVE): GCVE-0-2026-140436
GCVE (VulDB): GCVE-100-449612
Entry
Created: 12/04/2026 07:51Changes: 12/04/2026 07:51 (69)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.