Read the docs
TI-2023-12697 Aliases CVE-2023-28118GHSA-c24f-2j3g-rg48

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

VendorProductAffected versionsFixed inStatusSource
charleskornkamlbefore 0.53.00.53.0Patch availableCNA
—com.charleskorn.kaml:kaml (Maven)before 0.53.00.53.0Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:*before 0.53.0VulnerableKaml 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

  1. 2026-10-02 Threatist record created from CVE-2023-28118
  2. 2026-10-03 Alias added: GHSA-c24f-2j3g-rg48

References

  • TI-2021-16579 Denial of service while parsing polymorphic input with tagged polymorphism style in kaml CVSS 3.1MEDIUM 6.5

Sources