cve.bz

CVE-2025-64518 cyclonedx cyclonedx-core-java

7.5 highEPSS 0.4%Fix available

High (7.5) in cyclonedx cyclonedx-core-java. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.cyclonedx:cyclonedx-core-java 11.0.1.

On this page
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.

Severity

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.cyclonedx:cyclonedx-core-java (Maven): fixed in 11.0.1

Ask an AI about this CVE

Show the promptExplain CVE-2025-64518 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-64518?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-64518?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-64518 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cyclonedx-core-java>= 2.1.0, <11.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6fhj-vr9j-g45rMavenorg.cyclonedx:cyclonedx-core-java>=2.1.0 <11.0.111.0.1

Red Hat

Red Hat rates this Important.

Red Hat's statement

The flaw has been rated High severity, because a remote attacker could craft a malicious CycloneDX SBOM that, when validated by an affected system, may result in disclosure of sensitive information from local files or internal network resources. Exploitation does not require authentication or user interaction, but it depends on the application accepting and processing untrusted CycloneDX XML input, the environments that automatically ingest SBOMs from external or untrusted sources.

~~~

This issue was introduced in cyclonedx-core-java v2.1.0 via commit https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9.

This vulnerability is related to, but distinct from, the previously fixed CVE-2024-38374, which addressed a similar XML External Entity (XXE) flaw in the SBOM parsing logic. That earlier fix secured the XML parser but did not cover the separate validation process, leaving this secondary XXE path unprotected. This new CVE closes that remaining gap by securing the XML validator used during schema validation.

~~~

~~~

For rhint-camel-spring-boot-4, the impact is assessed as Low.

The vulnerable component (cyclonedx-core-java) is part of the build-time plugin (cyclonedx-maven-plugin) used to generate SBOM metadata. That plugin runs only during the build, and is not included, shipped, or executed at runtime in the delivered product. Consequently, the vulnerability does not affect runtime behavior or security of deployed instances, and cannot be exploited in customer environments.

~~~

Red Hat's mitigation

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).

ProductPackageStateAdvisory
Red Hat build of Quarkus 3.20.4.redhatorg.cyclonedx/cyclonedx-core-java:11.0.1.redhat-00001Fixed 2025-12-01RHSA-2025:22195
Red Hat build of Quarkus 3.27.1.redhatorg.cyclonedx/cyclonedx-core-java:11.0.1.redhat-00001Fixed 2025-12-04RHSA-2025:22622
Cryostat 4cyclonedx-core-javaNot affected
Red Hat AMQ Clientscyclonedx-core-javaNot affected
Red Hat build of Apache Camel for Spring Boot 4cyclonedx-core-javaFix deferred
Red Hat build of Apache Camel - HawtIO 4cyclonedx-core-javaNot affected
Red Hat build of Apicurio Registry 2cyclonedx-core-javaAffected
Red Hat build of Apicurio Registry 3cyclonedx-core-javaAffected
Red Hat build of Debezium 3cyclonedx-core-javaWill not fix
Red Hat Data Grid 8cyclonedx-core-javaNot affected
Red Hat JBoss Enterprise Application Platform 7cyclonedx-core-javaNot affected
Red Hat JBoss Enterprise Application Platform 8cyclonedx-core-javaNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packcyclonedx-core-javaNot affected
streams for Apache Kafka 2cyclonedx-core-javaNot affected
streams for Apache Kafka 3cyclonedx-core-javaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-64518.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON