SBOM and the Cyber Resilience Act: What the Regulation Really Requires

SBOM and the Cyber Resilience Act: the exact Annex I Part II requirement, CycloneDX vs SPDX, BSI TR-03183-2, automatic CI generation with Syft or Trivy, VEX.

The SBOM (Software Bill of Materials) is one of the most quoted Cyber Resilience Act requirements, and one of the most misunderstood. Must it be complete or only partial? Must you publish it? Which format? This guide sets out what the text says, what it does not say, and proposes a simple implementation in a continuous integration pipeline.

What the regulation says exactly

Annex I, Part II, point 1, requires the manufacturer to identify and document vulnerabilities and components contained in the product, including by drawing up a software bill of materials (SBOM) in a commonly used and machine-readable format covering at the very least the top-level dependencies of the product.

Three points to keep in mind:

  • Machine-readable, not a PDF. A spreadsheet or a layout document is not enough.
  • Minimum: top-level dependencies. These are the components your product includes directly. The regulation sets a floor; it does not forbid going further, and an SBOM that includes transitive dependencies is more useful for vulnerability tracking.
  • The SBOM serves the manufacturer first. It is part of vulnerability handling, alongside the requirements to fix without delay, test regularly and cooperate with researchers.

The SBOM is also part of the technical documentation (Annex VII), kept for 10 years or for the support period if longer. The user information in Annex II must state where to find the SBOM if you choose to make it accessible.

Sharing it: what is mandatory and what is not

Question Answer
Must you publish the SBOM? No, publication is not mandatory
Must you provide it to authorities? Yes, on reasoned request from a market surveillance authority
Must it be in the technical documentation? Yes
Can you share it with customers? Yes, at your initiative, stating its location in the Annex II instructions
Must it list known vulnerabilities? No, that is the job of a VEX or a scan report

Many business customers already ask for an SBOM in their tenders. You can provide it to them under a non-disclosure agreement without breaching the regulation.

Choosing a format: CycloneDX or SPDX

The CRA names no single format: it speaks of a "commonly used and machine-readable" one. The Commission may specify the format by implementing act. In practice, two standards dominate.

Criterion CycloneDX (OWASP) SPDX (Linux Foundation)
Origin Supply-chain security Licence compliance, now ISO/IEC 5962
Formats JSON, XML JSON, tag-value, YAML, RDF
Built-in VEX Yes Via profiles or separate documents
Tooling Very broad (Syft, Trivy, cdxgen) Very broad

If you have no customer constraint, CycloneDX in JSON is a pragmatic choice for a small manufacturer. The two formats can be converted into each other, with possible loss.

BSI TR-03183-2: a useful reference

The technical guideline BSI TR-03183-2, published by the German Federal Office for Information Security, sets out detailed SBOM requirements in the CRA context: accepted formats (CycloneDX and SPDX, in recent versions), mandatory fields per component (name, version, creator, timestamp, licence, hash, dependency relationships and so on) and the expected level of completeness. It is not part of the regulation and is not legally binding, but it gives a concrete reference for what a quality SBOM contains. Check the version currently in force before using it as a validation criterion.

Generating the SBOM automatically in CI

A hand-written SBOM is wrong the next day. Best practice is to produce it on every release build and archive it with the artefacts.

Three common tools

Tool Use Example command
Syft (Anchore) Generates an SBOM from a directory, image or archive syft dir:. -o cyclonedx-json=sbom.cdx.json
Trivy (Aqua) Generates an SBOM and scans for vulnerabilities trivy fs --format cyclonedx --output sbom.cdx.json .
CycloneDX CLI Validates, converts, merges SBOMs cyclonedx validate --input-file sbom.cdx.json

A typical sequence

  1. Build the release.
  2. Generate the SBOM with Syft or Trivy (on the source code and, if you ship an image, on the image).
  3. Validate the file with the CycloneDX CLI.
  4. Scan the SBOM for known vulnerabilities (trivy sbom sbom.cdx.json).
  5. Archive the SBOM next to the release and reference it in the technical documentation.

For a project with several components (firmware, application, backend), produce one SBOM per component and merge them if needed.

VEX: stating what is really exploitable

An SBOM lists components; a scan attaches CVEs to them; many of those CVEs are not exploitable in your product (function never called, different configuration). VEX (Vulnerability Exploitability eXchange) is a companion document that states, for each vulnerability, whether your product is affected, not affected, fixed or under investigation, with a justification.

The CRA does not require VEX, but it helps you meet the "no known exploitable vulnerability" requirement at placing on the market and answer customers quickly. CycloneDX can carry it natively; OpenVEX and CSAF are other common formats.

Common mistakes

  1. Producing an SBOM once, for an audit. It must follow every delivered version.
  2. Covering only source code and forgetting the container image, the firmware or embedded libraries.
  3. A non-machine-readable format (PDF, spreadsheet).
  4. An SBOM without exact versions or standard identifiers (purl, CPE): impossible to match against vulnerability databases.
  5. Confusing SBOM with a CVE list. The SBOM describes contents; vulnerabilities belong to scanning and VEX.
  6. Not using it. The SBOM tells you which products contain an affected component when a vulnerability is exploited: that is what makes the Article 14 reporting deadlines achievable.
  7. Forgetting to update it after a fix.

Going further

The SBOM is one element of vulnerability handling, alongside a disclosure policy and a security.txt file. Check your scope first with the wizard. The CRA Compliance Kit includes the vulnerability handling procedure and technical documentation templates that reference the SBOM. General application of these requirements is set for 11 December 2027 (timeline).

FAQ

Do I have to publish my SBOM?

No. The regulation requires you to draw it up and keep it in the technical documentation, and to provide it to a market surveillance authority that makes a reasoned request. Publication is a choice.

Is an SBOM of direct dependencies only enough?

It meets the Annex I, Part II minimum: at least the top-level dependencies. Including transitive dependencies is strongly recommended, since that is often where vulnerabilities sit.

CycloneDX or SPDX?

The CRA mandates neither. Choose the one your tools and customers support. CycloneDX in JSON is a simple starting point; both are among the formats accepted by the BSI TR-03183-2 guideline.

Take action

Check your scope with the free check, then structure your compliance with the compliance kit: 14 bilingual documents (16 with the Team Kit), ENISA reporting playbook, roadmap to 11 December 2027.