# CVE-2023-24620: Esoteric YamlBeans XML Entity Expansion vulnerability

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-25T00:00:00.000Z
- Modified: 2026-06-17T05:39:40.130Z
- Also known as: GHSA-vj49-j7rc-h54f
- Weaknesses: CWE-400, CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue was discovered in Esoteric YamlBeans through 1.15. A crafted YAML document is able perform am XML Entity Expansion attack against YamlBeans YamlReader. By exploiting the Anchor feature in YAML, it is possible to generate a small YAML document that, when read, is expanded to a large size, causing CPU and memory consumption, such as a Java Out-of-Memory exception.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.esotericsoftware.yamlbeans:yamlbeans (Maven): up to 1.15
- esotericsoftware yamlbeans: up to 1.15

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Contrast-Security-OSS/yamlbeans/blob/main/SECURITY.md> (exploit, third-party-advisory, web)
- <https://github.com/EsotericSoftware> (third-party-advisory, web)
- <https://contrastsecurity.com> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-24620> (advisory)
- <https://github.com/EsotericSoftware/yamlbeans> (package)

## Sources

- CVE List: [CVE-2023-24620](https://www.cve.org/CVERecord?id=CVE-2023-24620), CVE Terms of Use, modified 2024-10-02
- GitHub Advisory Database: [GHSA-vj49-j7rc-h54f](https://github.com/advisories/GHSA-vj49-j7rc-h54f), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-24620](https://nvd.nist.gov/vuln/detail/CVE-2023-24620), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-24620 · Whole record: https://cve.day/CVE-2023-24620.json · Rebuilt by cve.day 2026-11-25T22:58:27.362Z
