Skip to content
Zyberum Cyber Security Firm
Menu
ComparisonsSBOMCRA

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

CycloneDXSPDX
Maintained byOWASP Foundation, with Ecma InternationalSPDX project, hosted by the Linux Foundation
Formal standardECMA-424ISO/IEC 5962:2021
OriginSecurity and supply chain analysisLicence compliance and software provenance
Describes wellComponents and dependency graph, services, hardware, cryptographic assets, machine learning models; VEX in the same formatPackages, files and snippets with detailed licence and copyright information; since version 3 also security and build profiles
Weak spotLess depth on file-level licence detailVersion 3 changed the data model, so check which version your tools actually emit
SerialisationJSON, XML, Protocol BuffersVersion 3: JSON-LD; version 2.x also tag-value, YAML, RDF and others
Accepted by BSI TR-03183-2 v2.1.0From version 1.6From version 3.0.1
Meets the CRA wordingYesYes
Effort to adoptLow where the build ecosystem has a CycloneDX plug-inLow where the build system emits SPDX, for example the Yocto Project, which does so by default
Vulnerability statementsOwn VEX representation, kept as a separate documentSecurity 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:

  1. One per release, from the pipeline. An SBOM made once by hand describes a release nobody ships any more.
  2. 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.
  3. Monitored. Every SBOM of every supported release is matched against new vulnerabilities continuously, for a support period of at least five years.
  4. 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

Get started

Not sure which test you need?

Describe your product or environment in a 15-minute call. You get a clear recommendation and, if you want one, a fixed-price offer.

  • A recommendation, not a sales pitch
  • Scope and effort estimate on the spot
  • Free and without obligation
Tom Zaubermann

Your call is withTom ZaubermannFounder & CEO, Zyberum

Call us: +49 176 439 17074info@zyberum.com

Or send us a message

We reply within one business day.

No sales offers, please. We are not hiring at the moment.

Call usGet a recommendation

Pick a time that suits you

Open in a new tab