CVE-2023-28118
highpriority · track · 30EPSS 0.010 · 62 %ileDEEUUSEPSS · scored 2026-10-27
kaml provides YAML support for kotlinx.serialization. Prior to version 0.53.0, applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. There are no known workarounds.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2858IBM Security Guardium: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2023-11-08csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in IBM Security Guardium ausnutzen, um einen Denial of Service Angriff durchzuführen.
- GHSA-c24f-2j3g-rg48kaml has potential denial of service while parsing input with anchors and aliases 2023-03-20ghsa · osvUS
### Impact Applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. ### Patches Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. ### Workarounds None. ### References Wikipedia has an explanation of this class of vulnerability: [billion laughs attack](https://en.wikipedia.org/wiki/Billion_laughs_attack) ### Acknowledgements Thank you to @gdude2002 for reporting this issue.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-28118/cnnvd
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531acnnvd
- https://github.com/charleskorn/kaml/releases/tag/0.53.0cnnvd
- https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48cnnvd
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531aenisa_euvd
- https://github.com/charleskorn/kaml/releases/tag/0.53.0enisa_euvd
- https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48enisa_euvd
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531aPatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan