Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-39194

published medium CVSS 3.1 · 4.3

Denial of service while parsing polymorphic input with tagged polymorphism style in kaml

Published
07 Sep 2021, 19:25:10 UTC
Updated
04 Aug 2024, 01:58:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
charleskorn — kaml< 0.35.2 Affected Not stated GitHub_M

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
charleskorn kaml < 0.35.2 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

Denial of service while parsing polymorphic input with tagged polymorphism style in kaml

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0ef9dc91c68839f15a56d222a59868ce323ac79d4a32802ce4417aeefce4c051
Ingested
23 Sep 2026, 07:55:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected