CVE-2025-64518 json
CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection
published 2025-11-10 11 mo ago modified 2026-09-10 1 mo ago also GHSA-6fhj-vr9j-g45r , EUVD-2025-50813
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.cyclonedx:cyclonedx-core-java 11.0.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-64518 updated cvss 7.5
cyclonedx-core-java: CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection
-
Red Hat build of Apache Camel for Spring Boot 4 cyclonedx-core-java Red Hat build of Apicurio Registry 2 cyclonedx-core-java Red Hat build of Apicurio Registry 3 cyclonedx-core-javaaffected: workaround, no fix available “Reject or block XML-formatted BOMs from untrusted sources before handing them to the library (e.g., require BOMs to be JSON or only accept BOMs from trusted origins).”
-
Red Hat build of Debezium 3 cyclonedx-core-javaaffected: workaround, no fix planned “Reject or block XML-formatted BOMs from untrusted sources before handing them to the library (e.g., require BOMs to be JSON or only accept BOMs from trusted origins).”
-
Red Hat build of Quarkus 3.20.4.redhat cyclonedx-core-java 11.0.1.redhat-00001fixed: vendor fix “Reject or block XML-formatted BOMs from untrusted sources before handing them to the library (e.g., require BOMs to be JSON or only accept BOMs from trusted origins).” RHSA-2025:22195
-
Red Hat build of Quarkus 3.27.1.redhat cyclonedx-core-java 11.0.1.redhat-00001fixed: vendor fix “Reject or block XML-formatted BOMs from untrusted sources before handing them to the library (e.g., require BOMs to be JSON or only accept BOMs from trusted origins).” RHSA-2025:22622
-
Red Hat Cryostat 4 cyclonedx-core-java Red Hat AMQ Clients cyclonedx-core-javanot affected: component not present
-
Red Hat build of Apache Camel - HawtIO 4 cyclonedx-core-java Red Hat build of Quarkus 3.20.4.redhat jna 5.8.0, lit 3.2.1, bson 5.3.1, db2 1.20.6, h2 2.3.230, itu 1.14.0, +1015 more Red Hat build of Quarkus 3.27.1.redhat jna 5.8.0, bson 5.5.1, db2 1.21.3, h2 2.3.230, itu 1.14.0, y18n 5.0.8, +1004 morenot affected: vulnerable code not present
-
Red Hat Data Grid 8 cyclonedx-core-javanot affected: component not present
-
Red Hat JBoss Enterprise Application Platform 7 cyclonedx-core-java Red Hat JBoss Enterprise Application Platform 8 cyclonedx-core-java Red Hat JBoss Enterprise Application Platform Expansion Pack cyclonedx-core-java Red Hat streams for Apache Kafka 2 cyclonedx-core-java Red Hat streams for Apache Kafka 3 cyclonedx-core-javanot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.cyclonedx:cyclonedx-core-java | >=2.1.0, <11.0.1 |
11.0.1 |
Affected products
- CycloneDX cyclonedx-core-java
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/CycloneDX/cyclonedx-core-java/pull/737
web
-
github.com
/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9
web
-
github.com
/CycloneDX/cyclonedx-core-java/commit/af0ec75c93c03f93733a070c5132554490af5314
web
-
github.com
/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-6fhj-vr9j-g45r
web
-
cheatsheetseries.owasp.org
/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-64518
advisory
-
github.com
/CycloneDX/cyclonedx-core-java
package
Sources
- CVE List CVE-2025-64518
- GitHub Advisory GHSA-6fhj-vr9j-g45r
- NVD CVE-2025-64518
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.