# CVE-2025-64518: CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-11-10T21:04:03.000Z
- Modified: 2026-09-10T03:50:30.718Z
- Also known as: GHSA-6fhj-vr9j-g45r
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

The CycloneDX core module provides a model representation of the SBOM along with utilities to assist in creating, validating, and parsing SBOMs. Starting in version 2.1.0 and prior to version 11.0.1, the XML `Validator` used by cyclonedx-core-java was not configured securely, making the library vulnerable to XML External Entity (XXE) injection. The fix for GHSA-683x-4444-jxh8 / CVE-2024-38374 was incomplete in that it only fixed parsing of XML BOMs, but not validation. The vulnerability has been fixed in cyclonedx-core-java version 11.0.1. As a workaround, applications can reject XML documents before handing them to cyclonedx-core-java for validation. This may be an option if incoming CycloneDX BOMs are known to be in JSON format.

(As written by CVE List.)

## Affected

- CycloneDX cyclonedx-core-java: >= 2.1.0, <11.0.1
- org.cyclonedx:cyclonedx-core-java (Maven): from 2.1.0 before 11.0.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-6fhj-vr9j-g45r> (web)
- <https://github.com/CycloneDX/cyclonedx-core-java/pull/737> (web)
- <https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9> (web)
- <https://github.com/CycloneDX/cyclonedx-core-java/commit/af0ec75c93c03f93733a070c5132554490af5314> (web)
- <https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64518> (advisory)
- <https://github.com/CycloneDX/cyclonedx-core-java> (package)

## Sources

- CVE List: [CVE-2025-64518](https://www.cve.org/CVERecord?id=CVE-2025-64518), CVE Terms of Use, modified 2025-11-12
- GitHub Advisory Database: [GHSA-6fhj-vr9j-g45r](https://github.com/advisories/GHSA-6fhj-vr9j-g45r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-64518](https://nvd.nist.gov/vuln/detail/CVE-2025-64518), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-64518 · Whole record: https://cve.day/CVE-2025-64518.json · Rebuilt by cve.day 2026-11-25T22:59:07.423Z
