CVE-2023-28118
HIGH 7.5CVSS 3.1kaml has potential denial of service while parsing input with anchors and aliases
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.
- Published
- 20 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-776
- Also known as
- GHSA-c24f-2j3g-rg48
- Sources
- NVDJSONOSV GHSA-c24f-2j3g-rg48JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kaml_project | kamlcpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:* |
< 0.53.0 | 0.53.0 |
| OSV | Maven | com.charleskorn.kaml:kaml | < 0.53.0 | 0.53.0 |
References
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a · Patch, WEB
- https://github.com/charleskorn/kaml/releases/tag/0.53.0 · Release Notes, WEB
- https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-28118 · ADVISORY
- https://github.com/charleskorn/kaml · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 20 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2023)