CVE-2023-28118

kaml has potential denial of service while parsing input with anchors and aliases

Published Mar 20, 2023 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0975 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.
Github GHSA Github GHSA GHSA-c24f-2j3g-rg48 kaml has potential denial of service while parsing input with anchors and aliases
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 25, 2025, 2:52 PM
Reserved
Mar 10, 2023, 6:34 PM
Status
Modified
Published
Mar 20, 2023, 1:15 PM
Modified
Jun 17, 2026, 5:46 AM