Security Resilience

CVE-2023-28118

Kaml Project Kaml ≤ 0.53.0

Published
20 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0097 63th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-28118 is a high-severity XML Entity Expansion (CWE-776) vulnerability in Kaml Project Kaml. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 37% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

anchors and aliases. There are no known workarounds.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-105925Shared CWE-776
CVE-2024-28757Shared CWE-776
CVE-2025-5466Shared CWE-776
CVE-2026-3415Shared CWE-776
CVE-2024-27141Shared CWE-776
CVE-2026-115506Shared CWE-776
CVE-2026-23822Shared CWE-776
CVE-2026-40260Shared CWE-776
CVE-2026-14979Shared CWE-776
CVE-2026-29074Shared CWE-776

Affected Assets

kaml project
kaml
≤ 0.53.0

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure SDLC practices directly prevent introduction of improper recursive entity handling in XML code.

PR.PS-01 mostly match
blocks

Hardened configuration baselines can disable or limit DTD entity expansion in XML parsers.

ID.RA-01 partial match
blocks

Identifying and recording vulnerabilities can discover XML entity expansion flaws before exploitation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect and block XML entity-expansion vulnerabilities before deployment.

prevents

Training developers in secure XML handling can teach them to disable DTD processing or limit entity expansion, preventing some instances, but this is a specific technical configuration that requires correct implementation and the practice is fallible, leaving most instances unaffected by training alone.

prevents

Secure coding standards directly require disabling or restricting recursive entity references in XML parsers.

prevents

A.8.30 carries its effect through the secure-design, coding and testing practices (8.25–8.29) its contract requires of the supplier, which reduce ordinary software implementation weaknesses like insecure XML parsing configuration in delivered code, but the practices are fallible and the clause depends on those other controls being properly implemented, so only a minority of instances are prevented.

finds

A.8.8's reach is DISCLOSURE — it finds XEE only where a vendor-published advisory exists for the XML parsing library or component, and XEE does surface as CVEs (CVE-2008-3281, CVE-2011-3288, CVE-2011-1755, CVE-2009-1955, CVE-2003-1564), so it is not `none`; but the bulk of XEE instances live in first-party custom XML processing code, which A.8.8's disclosure-based programme does not read, capping the rung at `partial`.

References