CycloneDX or SPDX: Which SBOM Format Should a Software Supplier Produce?
Labrador generates an SBOM from your codebase in either CycloneDX or SPDX format, letting a software supplier satisfy a customer contract or regulatory request without committing to one schema forever.
If a customer, a government contract, or an internal audit team has asked you for a software bill of materials, the first practical question is not what goes in it - it's which format do I hand over? CycloneDX and SPDX are the two formats the market has converged on. They are not interchangeable, and picking the wrong one for your context creates rework. Here is how to tell them apart and when each is the right answer.
What the Two Formats Actually Are
SPDX (Software Package Data Exchange) is an ISO standard (ISO/IEC 5962:2021) originally built around license compliance. It was designed to answer: what open-source components are in this product, and what licenses govern them? The schema is thorough on license expression, copyright text, and file-level detail.
CycloneDX is an OWASP standard designed from the start for security use cases. It maps components, their known vulnerabilities (via VEX - Vulnerability Exploitability eXchange), dependencies, and service relationships. Its schema is tighter for toolchain integration: CI/CD pipelines, vulnerability management platforms, and procurement checks.
Both can represent components, versions, hashes, and dependencies. The difference is in what each schema makes first-class: SPDX treats licensing as the organizing principle; CycloneDX treats the security and operational risk picture as the organizing principle.
When to Produce SPDX
Choose SPDX when:
- A legal or compliance team is the primary reader. SPDX's license fields are richer and more precise. If the downstream consumer needs to run a license-compatibility audit before shipping your component into their product, SPDX gives them what they need without custom parsing.
- The contract says "SPDX." US federal software supply-chain guidance (CISA, NTIA) has referenced SPDX explicitly in several guidance documents. Some prime contractors pass that down verbatim.
- You are supplying to a large enterprise with an established open-source program office (OSPO). OSPOs often have SPDX ingestion tooling already in place.
When to Produce CycloneDX
Choose CycloneDX when:
- A security or DevSecOps team is the primary consumer. CycloneDX integrates more naturally with vulnerability scanners, ASPM tools, and dependency-track platforms. VEX support is native in CycloneDX; in SPDX it was added later and is less uniformly supported by tooling.
- The receiving system needs machine-readable ingestion. CycloneDX JSON is compact and widely supported by CI/CD and SIEM integrations.
- You are selling into medical device, automotive, or IoT supply chains. The FDA's cybersecurity guidance for medical devices, for example, explicitly mentions CycloneDX as an acceptable format, and IEC 62443 ecosystem tooling has strong CycloneDX support.
- You need to include VEX statements alongside component data. VEX lets you assert that a known CVE in a dependency is not exploitable in your build context - a critical capability for reducing false-positive noise downstream.
The Honest Answer: Many Suppliers Need Both
If you are supplying software into more than one downstream customer or contract, you will likely face both requirements eventually. The practical implication is that your SBOM generation tooling needs to output either format from the same analysis run - not force you to re-analyze the codebase for each schema.
Labrador handles this at the generation layer: a single scan of your codebase produces the component and dependency graph, and the output can be expressed as SPDX or CycloneDX depending on what the downstream contract requires. That means the conversation with your customer about format is a delivery decision, not a re-engineering exercise.
What to Check Before You Hand Over Any SBOM
Format is only one dimension. Before delivery, confirm:
- Minimum elements are present. CISA published a minimum-elements guidance document. At minimum: supplier name, component name, version, unique identifiers (PURL or CPE), dependency relationships, and the SBOM author.
- Hashes are included. Component hashes (SHA-256 preferred) let the recipient verify they are looking at the same artifact you scanned.
- The SBOM is dated and versioned. An SBOM without a timestamp is not useful for incident response. If a critical CVE drops tomorrow, your customer needs to know whether your SBOM predates the vulnerable version entering your build.
- License data is present if the contract requires it. CycloneDX supports license fields, but if the contract is license-compliance-driven, confirm the fields are populated, not just present in the schema.
A Quick Reference
| Dimension | SPDX | CycloneDX | |---|---|---| | Governing body | ISO / SPDX Project | OWASP | | Primary design intent | License compliance | Security and operational risk | | VEX support | Limited / external | Native | | Typical consumer | Legal, OSPO, compliance | SecOps, DevSecOps, vulnerability management | | Common in | Federal contracts, enterprise OSPOs | Medical device, IoT, CI/CD pipelines | | File formats | .spdx, JSON, YAML, RDF | JSON, XML |
The Practical Starting Point
If your customer has not specified a format, ask them who will consume the SBOM and what tooling they will ingest it into. That answer almost always resolves the question. If they cannot answer, CycloneDX JSON is currently the safer default for security-team consumers; SPDX is the safer default if the recipient is a legal or compliance function.
If you are in the early stages of building SBOM generation into your release process, the right time to pick tooling is before you have promised a format to a customer. Labrador produces SBOMs as part of its SCA and supply-chain analysis - you can explore what that looks like for your codebase at apona.ai/labrador.
This post is about Labrador.