CycloneDX vs SPDX: Which SBOM Format for the Cyber Resilience Act?
CycloneDX and SPDX compared for the CRA: who maintains them, what each describes well, which versions BSI TR-03183-2 accepts and how to pick one for your build.
Updated This page as Markdown
In short
Both CycloneDX and SPDX meet the wording of the Cyber Resilience Act, which asks for an SBOM in a commonly used, machine-readable format covering at least the top-level dependencies. The Commission has not specified a format. The German guideline BSI TR-03183-2 (version 2.1.0) accepts CycloneDX from 1.6 and SPDX from 3.0.1. CycloneDX comes from the security side, SPDX from licence compliance. Pick the one your build tools produce well, and keep vulnerability information out of the SBOM: that belongs in VEX or CSAF.
What is the difference?
CycloneDX and SPDX are the two SBOM formats in common use, and either one satisfies the Cyber Resilience Act. They differ in where they come from and what they describe with the least effort: CycloneDX was built for security use cases, SPDX for licence compliance. Both have grown towards each other since.
The CRA itself stays neutral. Annex I, Part II, point (1) of Regulation (EU) 2024/2847 requires manufacturers to draw up a software bill of materials “in a commonly used and machine-readable format covering at the very least the top-level dependencies of the products”. The most concrete specification available today is the German technical guideline BSI TR-03183-2. It is not binding and gives no presumption of conformity, but it tells you which fields and which format versions an authority is likely to expect. It asks for JSON or XML.
Side by side
| CycloneDX | SPDX | |
|---|---|---|
| Maintained by | OWASP Foundation, with Ecma International | SPDX project, hosted by the Linux Foundation |
| Formal standard | ECMA-424 | ISO/IEC 5962:2021 |
| Origin | Security and supply chain analysis | Licence compliance and software provenance |
| Describes well | Components and dependency graph, services, hardware, cryptographic assets, machine learning models; VEX in the same format | Packages, files and snippets with detailed licence and copyright information; since version 3 also security and build profiles |
| Weak spot | Less depth on file-level licence detail | Version 3 changed the data model, so check which version your tools actually emit |
| Serialisation | JSON, XML, Protocol Buffers | Version 3: JSON-LD; version 2.x also tag-value, YAML, RDF and others |
| Accepted by BSI TR-03183-2 v2.1.0 | From version 1.6 | From version 3.0.1 |
| Meets the CRA wording | Yes | Yes |
| Effort to adopt | Low where the build ecosystem has a CycloneDX plug-in | Low where the build system emits SPDX, for example the Yocto Project, which does so by default |
| Vulnerability statements | Own VEX representation, kept as a separate document | Security profile in version 3; in practice often paired with CSAF |
Which one applies to you?
Neither is mandatory, so choose by what your build produces reliably and by what your customers ask for. For the CRA the questions that count are different ones: is there an SBOM for every supported release, is it generated by the build and not by hand, and does it carry the fields TR-03183-2 lists.
Choose CycloneDX when
- Your main use is vulnerability management. The format, the VEX representation and most of the open-source tooling around component analysis were designed together.
- Your product is built from application ecosystems such as Java, JavaScript, Python, .NET or Go, or from container images. The generators there are mature.
- You also want to describe services, hardware or cryptographic assets in the same document family.
- You want to follow TR-03183-2 today with the least friction: version 1.6 and later are accepted.
Choose SPDX when
- Your firmware is built with the Yocto Project. The build system generates SPDX documents by default, so the SBOM comes out of the same run as the image.
- Licence compliance is as important to you as security, for example because customers audit your open-source obligations.
- A customer or a purchasing contract names SPDX or the ISO standard.
- You can generate version 3.0.1 or later. Check this first: a pipeline that still emits SPDX 2.x is below what TR-03183-2 v2.1.0 accepts.
Both together
Generating both from the same data is often the pragmatic answer. The build already knows every component, version and hash; writing that out twice costs little and keeps the choice open until the Commission specifies a format, if it ever does.
Whatever the format, four things decide whether the SBOM is worth anything under the CRA:
- One per release, from the pipeline. An SBOM made once by hand describes a release nobody ships any more.
- Deeper than the legal minimum. Top-level dependencies satisfy the letter of the law. Most vulnerabilities sit in transitive dependencies, so record the full tree.
- Monitored. Every SBOM of every supported release is matched against new vulnerabilities continuously, for a support period of at least five years.
- Vulnerability information kept separate. Exploitability statements go into VEX, advisories into CSAF.
The SBOM is not public. It is part of the technical documentation and goes to a market surveillance authority on a reasoned request.
What Zyberum does
We set up SBOM generation in your build, or derive the SBOM from the firmware image where there is no pipeline, and export CycloneDX and SPDX from the same data. As a service we monitor every supported release, triage the hits, record the result as VEX and write advisories in CSAF: SBOM and vulnerability management. The first pass runs on self-hosted AI models; your SBOMs and findings do not go to online services. Not sure whether your product is in scope at all? Start with the CRA check.
FAQ
Frequently asked questions
Does the CRA prescribe CycloneDX or SPDX?
No. Annex I, Part II asks for a software bill of materials in a commonly used and machine-readable format covering at least the top-level dependencies of the product. Both formats fit that wording. The Commission may specify format and elements in an implementing act and has not done so as of November 2026.
Can we convert between the two?
Yes, tools exist for both directions, and the core data (component, version, supplier, licence, hash, dependency) maps well. Fields that only one format has are lost on the way. The safer set-up is to generate both formats from the same build data instead of converting one into the other.
Do we list vulnerabilities in the SBOM?
No. BSI TR-03183-2 states that an SBOM must not contain vulnerability information. An SBOM describes a release and stays fixed; what is known about its vulnerabilities changes every day. That information goes into separate documents: VEX statements and CSAF advisories that refer to the components in the SBOM.
Sources
Related pages
- ServicesSBOM and vulnerability management, run for you.SBOM and vulnerability management as a service: an SBOM per release in CycloneDX or SPDX, daily monitoring, triage with VEX and advisories in CSAF, done for you.
- ServicesIs your product CRA relevant, and in which class?Free Cyber Resilience Act check: six questions tell you whether your product is in scope, its class under Annex III or IV, the conformity route and the deadlines.
- ServicesYour PSIRT, run by Zyberum.Managed PSIRT for manufacturers: we run vulnerability intake, SBOM monitoring, triage, advisories and draft your 24-hour and 72-hour CRA reports. You stay in control.
- ServicesCRA technical documentation that stands up to questions.CRA technical documentation under Annex VII: risk assessment, test evidence, user information, EU declaration of conformity, and preparation for the notified body.
- GlossarySBOMAn SBOM lists every software component in a product with version and supplier. Formats, minimum elements, what the Cyber Resilience Act requires and how to use one.
- GlossaryCVECVE (Common Vulnerabilities and Exposures) gives every public vulnerability one ID. How CVE records are created, what they contain and how to use them.
- GlossaryCyber Resilience Act (CRA)The Cyber Resilience Act (Regulation (EU) 2024/2847) sets cybersecurity requirements for products with digital elements. Scope, duties, classes, 2026 and 2027 deadlines.
- InsightsVulnerability Management: A Process That Works in PracticeHow to set up vulnerability management that holds: sources, triage with CVSS and exploit data, SLAs by severity, SBOM, coordinated disclosure and the duties the CRA adds.
