# SBOM: choosing CycloneDX or SPDX and validating each release inventory

> Choose CycloneDX or SPDX according to recipient requirements and release-validation tooling. Generate the SBOM for the shipped artifact, validate components and relationships, and retain evidence per version.

Canonical: https://kairoseth.com/en/blog/sbom-cyclonedx-vs-spdx-choose-format-validate-release
Product: [Cyber Resilience Act](https://kairoseth.com/products/product-security)
Primary query: CycloneDX vs SPDX SBOM
Intent: informational-sbom-cyclonedx-spdx-format-selection-release-validation
Published: 2026-11-12
Updated: 2026-11-12

A practical guide for product teams that need verifiable dependency inventories rather than unchecked exported files.

A useful SBOM must describe the software actually delivered. This guide compares CycloneDX and SPDX from an engineering perspective without claiming a format guarantees security or compliance.

## What an SBOM is and which problem it solves

A software bill of materials, or SBOM, is a structured inventory of the components that make up an application. It is not a vulnerability report, a certification or proof that a product is secure. Its purpose is to support verifiable questions: which libraries are included, which versions ship, where components came from and how they relate. During a security investigation, the difference between knowing a dependency's general name and identifying the exact distributed version can determine whether an advisory applies. An SBOM can shorten investigation time, but it does not replace technical validation.

## CycloneDX and SPDX: goals and limits

CycloneDX and SPDX are open specification families for representing software component information. Both can describe inventories and relationships, but their data models, vocabularies, versions and tooling are not interchangeable without checking what survives conversion. CycloneDX is common in component-analysis and software supply-chain security workflows; SPDX has a long history in package, licensing and provenance information exchange. Choosing either format does not guarantee a complete SBOM. Coverage depends on component discovery, the lifecycle stage at which the inventory is generated and the quality of metadata provided by each tool.

## Start with the delivered product and release

Before choosing a format, define the product represented by the document. A web application may contain a server, JavaScript client, container images, operating-system packages, plugins and external services. Not all of these are distributed together or owned by the same organization. Record the product identifier, exact release or revision, generation date and the boundaries of included artifacts. An SBOM generated from a development repository does not necessarily describe what was deployed. For each release, preserve the association between the inventory, distributed artifact and source revision that produced it.

## Choose a format without unnecessary lock-in

Start the decision with the recipient and the use case. If a customer requires a particular SPDX profile, that requirement matters more than an internal tool preference. If an existing component-analysis pipeline consumes CycloneDX, producing it directly may be practical. Document the accepted specification version, serialization format and required properties. Avoid deciding solely because a tool can export a JSON file. Test whether the recipient interprets relationships, identifiers and licenses correctly; a syntactically valid document can still be semantically inadequate.

## Identifiers and transitive dependencies

A useful inventory distinguishes direct from transitive components and makes packages recognizable across sources. Capture name, version, supplier when known, component type and available identifiers such as Package URL without inventing missing fields. Two packages may share a name across different ecosystems; the declared version may also differ from the installed one. Examine lockfiles, actual dependency resolution and packages embedded in the final artifact. When a library is vendored, patched or rebuilt, record that condition rather than assuming it matches the original public package.

## Licenses and provenance are not the same as risk

License information supports legal and distribution review, while provenance helps reconstruct where a component originated. These are related questions but neither is equivalent to vulnerability detection. Do not mark a license as confirmed when only an unverified package declaration exists. Distinguish declared licenses, identified licenses and review evidence according to the tool's model. Dependency provenance may require additional information about the package registry, signatures or the build process. Preserve unknown fields explicitly so missing evidence does not silently become a false assertion.

## Generation in CI: build, validate and retain

Generate the SBOM at a reproducible pipeline stage and bind it to a release artifact, not to an unrelated run without a reference. Pin the generator version and retain execution evidence. Validate syntax against the relevant specification and add content checks: product identifier, version, component count, expected dependencies and absence of secrets. Signing or hashing the file can help detect later modification, but does not itself prove the inventory is exhaustive. Retain the SBOM with release evidence and define who is authorized to publish or correct it.

## Conversion between formats and information loss

Converting CycloneDX to SPDX or the reverse may be necessary for customers and tools, but do not assume perfect equivalence. Some format-specific fields, extensions, relationships or security information may lack a direct mapping. Before automating conversion, select a test inventory with transitive dependencies, multiple licenses, identifiers and internal components. Compare results by component and relationship, not merely by file size. Preserve the original and record the converter version. If information essential to the recipient is lost, adapt the source generation or agree on a supplementary delivery.

## Using an SBOM when a vulnerability is disclosed

When an advisory appears, begin with the affected component and version range. Match that information against the inventory, but do not declare impact from a name match alone. Check whether the vulnerable package actually ships, whether the affected functionality is used, whether mitigations exist and whether the product contains a modified version. Record the assessment, decision and evidence of remediation or non-applicability. An up-to-date SBOM helps identify candidates; exploitability assessment and incident response still require technical judgment, testing and accountable people.

## Delivery checklist and product-security workflow

For customer delivery, identify the product and release first; confirm scope, format and version; check direct and transitive components; validate identifiers and licenses; run the validator; and retain the result with a hash and generation record. Explain exclusions, update cadence and the contact for discrepancies. In a product-security program, this evidence connects to vulnerability management, release tracking and remediation decisions. The Cyber Resilience Act may motivate these processes, but specific legal obligations must be checked against EUR-Lex and cannot be inferred simply from possessing an SBOM.

## Common mistakes when interpreting inventories

A common mistake is treating a library's absence from the SBOM as proof that the product does not contain it. A tool may have scanned only a manifest, skipped operating-system dependencies or missed an embedded binary. Another mistake is assuming every listed dependency executes in production; some are development or testing tools. State the discovery method, scope and limitations. Periodically compare several sources, including package managers, built container images and final artifacts. A discrepancy does not automatically invalidate the entire inventory, but it should trigger a documented review before making claims about exposure or absence of risk.

## What to request from a software supplier

When an organization receives third-party software, it should request an SBOM tied to the version actually purchased rather than a generic example. Specify accepted format and version, update frequency and a contact for discrepancies. Ask whether the document covers embedded libraries, system packages and commercial components, and how unknown origins are represented. A supplier may have legitimate confidentiality constraints; agree on a proportionate way to exchange useful information. An SBOM begins an evidence-based technical conversation rather than turning an inventory into an absolute warranty against future vulnerabilities.

## A gradual adoption plan for smaller teams

A small team does not need a complex platform on day one. It can select a representative service, identify its delivered artifact and generate a first SBOM in the pipeline. The second iteration should manually review a sample of dependencies, verify versions and inspect components that were not captured. The third adds automated validation and attaches the document to each release. Next, define who reviews security advisories and how remediation decisions are recorded. This progression builds evidence before scaling. The objective is a repeatable, auditable process rather than producing thousands of records that nobody has checked for accuracy.

## Key takeaways

- Identify the exact artifact and revision before generating an SBOM.
- Check identifiers, transitive dependencies and licenses before delivery.
- Validate the format and retain the inventory with release evidence.
- Test CycloneDX/SPDX conversion for lost relationships.

## Sources

- [Official CycloneDX specification](https://cyclonedx.org/specification/overview/) — OWASP CycloneDX
- [Official SPDX specification](https://spdx.dev/specifications/) — SPDX Project
- [EU Cyber Resilience Act regulation](https://eur-lex.europa.eu/eli/reg/2024/2847/oj) — EUR-Lex

## External resources

- [Read CycloneDX specification](https://cyclonedx.org/specification/overview/)
- [Read SPDX specification](https://spdx.dev/specifications/)

## Related product

- [Cyber Resilience Act](https://kairoseth.com/products/product-security): Building product-security and CRA system for repositories, releases, SBOMs, vulnerabilities, evidence, and incidents with human authority.
- [Custom request](https://kairoseth.com/custom-requests)
