Live threats

All CVEs / Kaml Project

CVE-2021-39194Kaml Project Kaml

Medium 6.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kaml.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
kaml_projectkaml< 0.35.3

Official sources

References

Links published by the sources. Open them with care.