kaml has potential denial of service while parsing input with anchors and aliases
Priority MEDIUM 41CWE-776Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00974 62nd percentileScored 2026-11-07
Fix Fixed kaml (charleskorn): 0.53.0com.charleskorn.kaml:kaml (Maven): 0.53.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| charleskorn | kaml | before 0.53.0 | 0.53.0 | Patch available | CNA |
| — | com.charleskorn.kaml:kaml (Maven) | before 0.53.0 | 0.53.0 | Patch available | GHSA-c24f-2j3g-rg48 |
- kaml Vendorcharleskorn Affected before 0.53.0 Fixed in 0.53.0 Patch available CNA
- com.charleskorn.kaml:kaml (Maven) Vendor— Affected before 0.53.0 Fixed in 0.53.0 Patch available GHSA-c24f-2j3g-rg48
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:* | before 0.53.0 | Vulnerable | Kaml Project |
- cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:* Versions before 0.53.0 Vulnerable ·Kaml Project
Remediation
- Fix · CNA kaml (charleskorn) Fixed in 0.53.0
- Fix · GHSA-c24f-2j3g-rg48 com.charleskorn.kaml:kaml (Maven) Fixed in 0.53.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28118
- 2026-10-03 Alias added: GHSA-c24f-2j3g-rg48
References
Advisory 2
More Kaml Project Kaml vulnerabilities
- TI-2021-16579 Denial of service while parsing polymorphic input with tagged polymorphism style in kaml CVSS 3.1MEDIUM 6.5
Sources
- CVE-2023-28118 · CVE Program
- CVE-2023-28118 · NVD
- FIRST EPSS
- GHSA-c24f-2j3g-rg48 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences