CVE-2021-39194Kaml Project Kaml
Medium 6.5
Follow: this CVE · Kaml Project · Kaml Project Kaml We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- Yes
- Published
- Sep 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
kaml is an open source implementation of the YAML format with support for kotlinx.serialization. In affected versions attackers that could provide arbitrary YAML input to an application that uses kaml could cause the application to endlessly loop while parsing the input. This could result in resource starvation and denial of service. This only affects applications that use polymorphic serialization with the default tagged polymorphism style. Applications using the property polymorphism style are not affected. YAML input for a polymorphic type that provided a tag but no value for the object would trigger the issue. Version 0.35.3 or later contain the fix for this issue.
What to do
- Apply the vendor's security update for Kaml.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.charleskorn.kaml:kaml |
< 0.35.3 |
0.35.3 |
— |
Per OSV / GitHub Advisories (GHSA-fmm9-3gv8-58f4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kaml_project | kaml | < 0.35.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- github.com Exploit Third Party Advisory