{"api_version":"1","generated_at":"2026-07-23T13:29:44+00:00","cve":"CVE-2023-28118","urls":{"html":"https://cve.report/CVE-2023-28118","api":"https://cve.report/api/cve/CVE-2023-28118.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-28118","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-28118"},"summary":{"title":"CVE-2023-28118","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-03-20 13:15:00","updated_at":"2023-03-24 18:00:00"},"problem_types":["CWE-776"],"metrics":[],"references":[{"url":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","name":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","refsource":"MISC","tags":[],"title":"Default to not parsing anchors and aliases to prevent \"billion laughs… · charleskorn/kaml@5f82a2d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","name":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","refsource":"MISC","tags":[],"title":"Potential denial of service while parsing input with anchors and aliases  · Advisory · charleskorn/kaml · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","name":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","refsource":"MISC","tags":[],"title":"Release 0.53.0 · charleskorn/kaml · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28118","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28118","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"28118","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"kaml_project","cpe5":"kaml","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-28118","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')","cweId":"CWE-776"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"charleskorn","product":{"product_data":[{"product_name":"kaml","version":{"version_data":[{"version_affected":"=","version_value":"< 0.53.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48","refsource":"MISC","name":"https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48"},{"url":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a","refsource":"MISC","name":"https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a"},{"url":"https://github.com/charleskorn/kaml/releases/tag/0.53.0","refsource":"MISC","name":"https://github.com/charleskorn/kaml/releases/tag/0.53.0"}]},"source":{"advisory":"GHSA-c24f-2j3g-rg48","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-03-20 13:15:00","lastModifiedDate":"2023-03-24 18:00:00","problem_types":["CWE-776"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:*","versionEndExcluding":"0.53.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}