The Cyber Resilience Act (CRA) asks manufacturers for a software bill of materials (SBOM): under Annex I Part II(1) it must be in a commonly used, machine-readable format and cover at least the top-level dependencies of the product. The regulation names no format and lists no fields. The most concrete answer today comes from Germany's BSI: the current version of its TR-03183-2 guideline (2.1.0, 20 August 2025) requires SPDX 3.0.1 or CycloneDX 1.6, or higher. The Yocto Project has generated an SBOM by default since Scarthgap (5.0), but Scarthgap's default output is SPDX 2.2. This article puts the three texts side by side: what the regulation says, what BSI says, what create-spdx gives you in each release, and what the build system never sees.

In short

  • The CRA's SBOM requirement is a floor: a commonly used, machine-readable format and at least the top-level dependencies (Annex I Part II(1)). The obligation applies from 11 December 2027.
  • BSI TR-03183-2 version 2.1.0 is far more detailed: JSON or XML, CycloneDX 1.6 or higher or SPDX 3.0.1 or higher, recursive dependency resolution for every component in the scope of delivery, and a SHA-512 hash per component. The guideline is not binding and gives no presumption of conformity.
  • In Yocto, the SBOM is switched on by hand in Kirkstone (4.0) and on by default in Scarthgap (5.0), which produces SPDX 2.2. SPDX 3.0 became the default in Styhead (5.1); Wrynose (6.0) removed SPDX 2.2 support.
  • Vulnerability information does not live inside the SBOM. BSI forbids it outright; Yocto 6.0 removed the cve-check class and moved to sbom-cve-check, which works from the SBOM.
  • create-spdx only sees what BitBake builds. A bootloader built elsewhere, vendor blobs, firmware for companion cores and packages installed in the field do not enter the list on their own.

What exactly does the CRA ask for in an SBOM?

Regulation (EU) 2024/2847 speaks about this in three places, and all three are short. Article 3(39) defines an SBOM as a formal record containing details and supply chain relationships of the components included in the software elements of a product. Annex I Part II(1) makes the manufacturer identify and document the components and vulnerabilities in its product; as part of that, it must draw up an SBOM in a commonly used and machine-readable format that covers at least the top-level dependencies. Annex II point 9 deals with the user side: if the manufacturer decides to make the SBOM available to the user, it states where the SBOM can be accessed. So the regulation requires you to produce an SBOM. It does not require you to publish it.

What the text leaves out matters just as much. The regulation does not mention SPDX or CycloneDX, gives no version number, lists no mandatory fields, and does not say what a "top-level dependency" is in a Linux image. On an embedded device, stopping at the top level is also not useful: you cannot tell whether a vulnerability affects the product without knowing the version of a library three levels down the dependency tree. Point II(2) of the same annex requires vulnerabilities to be addressed without delay. The SBOM is the inventory for that work, not the goal.

The timeline: the CRA entered into force on 10 December 2024, the reporting obligations started on 11 September 2026, and the remaining obligations apply from 11 December 2027. The main article of this cluster, the Cyber Resilience Act for embedded Linux devices, maps all the obligations to the engineering layer. This article is not legal advice.

What does BSI TR-03183-2 make concrete?

The document that fills this gap in the most detail today is Part 2 of the TR-03183 technical guideline from the German Federal Office for Information Security (BSI). Its status has to be read correctly. On its own page BSI states that the document is a guide, is not binding or mandatory, and cannot be used as presumption of conformity. It also says the guideline will be replaced by harmonised European standards once they are available. Even so, for a manufacturer selling into Germany this is likely to be the first yardstick a customer picks up.

The current version is 2.1.0, dated 20 August 2025 in the document history. Next to the regulation, the difference is plain:

Topic CRA (Regulation (EU) 2024/2847) BSI TR-03183-2, version 2.1.0
Status Binding regulation Guideline; not binding, no presumption of conformity
Format Commonly used and machine-readable JSON or XML; CycloneDX 1.6 or higher, or SPDX 3.0.1 or higher
Depth At least the top-level dependencies Recursive resolution on each path for every component in the scope of delivery, at least up to the first component outside that scope
Fields for the SBOM itself Not specified Creator (email, or URL if none) and timestamp
Required fields per component Not specified Creator, name, version, filename, dependencies (with completeness indicated), distribution licence, SHA-512 hash of the deployable component, executable / archive / structured properties
Fields to add if they exist Not specified URI of the SBOM, source code URI, URI of the deployable form, identifiers such as CPE or purl, original licence
Versioning Not specified A separate SBOM for each software version
Vulnerability information A separate duty: identify, document and address vulnerabilities without delay (Annex I Part II(1) and II(2)) Not in the SBOM; exchanged separately through CSAF or VEX
Disclosure to the user Not required (Annex II point 9) An SBOM can be public or non-public

Two rows deserve more detail. The first is vulnerability information. The guideline's sentence is clear: "An SBOM MUST NOT contain vulnerability information". The reason is given too: for a software version that does not change, the SBOM is static, while vulnerability information is dynamic. Whether a vulnerability in a component affects the product is the result of a separate analysis, and that result is delivered as a security advisory (CSAF) or as VEX. The guideline also requires licences to be named with SPDX licence identifiers.

The second is the version floor. The document history shows how the bar has moved: version 2.0.0 (20 September 2024) required at least SPDX 2.2.1 and CycloneDX 1.5; version 2.1.0 raised these to 3.0.1 and 1.6. The transition rule is in the document itself: after a new version is issued, the immediately preceding one may be applied for up to six months. Six months after 20 August 2025 is February 2026. By our calculation, 2.1.0 is the only version in effect as this article is written.

Which Yocto release produces what?

In Yocto the SBOM is generated by the create-spdx class, and its behaviour changed clearly across four releases. The table below is compiled from the Yocto documentation pages of each release.

Release Status (19 November 2026) SBOM generation SPDX version Vulnerability scan
Kirkstone 4.0 End of life Off by default; enabled by hand The documentation page does not state a version cve-check class
Scarthgap 5.0 LTS until April 2028 On by default (INHERIT_DISTRO) 2.2 by default; SPDX 3 support exists but is off cve-check class
Styhead 5.1 End of life On by default 3.0 by default (create-spdx-3.0 class) cve-check; local NVD copy, JSON output only
Wrynose 6.0 LTS until April 2030 On by default SPDX 3 only; 2.2 support removed cve-check removed, replaced by sbom-cve-check

In Kirkstone the SBOM is enabled with one configuration line, and the output is a compressed archive (IMAGE-MACHINE.spdx.tar.zst) that contains the index and the files for the single recipes:

INHERIT += "create-spdx"

The Scarthgap documentation reverses the situation: the build system generates this information by default, because the class is active through INHERIT_DISTRO. When an image is built, the SBOM is written to tmp/deploy/images/MACHINE/ as IMAGE-MACHINE.spdx.json, with ancillary files in tmp/deploy/spdx. The same page draws the limit in one sentence: "SPDX version 3 support is available on Yocto Scarthgap, but disabled by default". That the default is 2.2 is stated in the 5.1 release notes: Styhead produces SPDX output in version 3.0 instead of 2.2.

The Wrynose migration guide removes two things at once: SPDX 2.2 support and the cve-check class. The current documentation describes two ways to switch SBOM generation off, or to generate it from recipe metadata only, without building an image:

# On by default; to switch it off
INHERIT_DISTRO:remove = "create-spdx"
bitbake <recipe> -c create_recipe_sbom

The practical result: two releases are still supported, and they behave differently. In Scarthgap you enable SPDX 3 by hand; in Wrynose there is no other option. Styhead is end of life, so it is not a stepping stone. Which LTS receives fixes until when is the subject of a separate article: the five-year support period and the LTS calendars.

What is in the create-spdx output?

The Yocto documentation describes the output like this: all the components you used, their licences, their dependencies, their sources, the changes applied to them and the known vulnerabilities that were fixed. So the file is more than a package list; it also records which patch was applied. How much detail it carries is set by a few variables. The current documentation describes these:

Variable What it adds
SPDX_PRETTY Writes the JSON files in a human-readable form
SPDX_INCLUDE_SOURCES Adds a description of the source files used to generate host tools and target packages
SPDX_INCLUDE_COMPILED_SOURCES Adds a description of the compiled source files
SPDX_INCLUDE_KERNEL_CONFIG Exports the kernel configuration (CONFIG_*) into the document
SPDX_INCLUDE_PACKAGECONFIG Exports the enabled and disabled PACKAGECONFIG features of a recipe
SPDX_IMAGE_SUPPLIER, SPDX_PACKAGE_SUPPLIER Attaches supplier information to the image or to packages

The Kirkstone and Scarthgap documentation mentions two more options: SPDX_ARCHIVE_SOURCES adds archives of the source files, and SPDX_ARCHIVE_PACKAGED adds archives of the packaged files. The Kirkstone page notes that the source archives are needed to fulfil the "source code access" requirements of licences. The current documentation also says that source downloads for Rust, Go, Python and npm packages are enriched with Package URLs (purl).

For the CRA, two of these variables do more work than the rest. The kernel configuration tells you whether a vulnerability in a driver concerns you at all: code that is not built does not run. The list of compiled source files answers the same question at file level, and it is the input for the kernel CVE filtering described below.

What is left between what BSI asks and what Yocto gives?

There are three differences, and only the first one closes with a configuration decision.

Version. BSI asks for SPDX 3.0.1 or higher; Scarthgap's default is 2.2. The Scarthgap documentation says SPDX 3 support is available in this release but disabled by default, so it can be enabled without leaving the LTS. The other route is to move to Wrynose. We did not verify which exact revision of the specification (3.0.0 or 3.0.1) Yocto's SPDX 3 output corresponds to. Because the guideline sets 3.0.1 as the floor, read that value from the output file itself before you deliver.

Fields. Some of BSI's required fields are things a build system knows naturally: name, version, licence, dependency. Some are not: the SHA-512 hash of the deployable component, the executable / archive / structured properties, the creator given as an email or URL, and the indication of whether the dependency list is complete. We did not test for this article whether the create-spdx output covers each of these fields. BSI publishes a mapping section in the appendix of the guideline that gives the SPDX and CycloneDX counterpart of every field; the check is done with that section, on the output of your own image.

Separation of vulnerability information. According to BSI, an SBOM and vulnerability information do not sit in the same document. Yocto's own description says the SBOM also covers the known vulnerabilities that were fixed, and sbom-cve-check in 6.0 additionally produces the image's SPDX file as a report enriched with vulnerabilities. Our reading: the enriched report is a document for internal vulnerability management, and it is not the file you hand out as the SBOM. Decide early which file goes to whom and for what purpose.

Where does vulnerability tracking sit relative to the SBOM?

Yocto keeps vulnerability tracking at recipe level and writes the result to files separate from the SBOM. The security manual defines three statuses for each CVE: Patched (a patch that addresses the issue has been applied), Unpatched (no patch applied, the issue needs to be investigated) and Ignored (after analysis it was decided to ignore the issue). Matching is done against product name and version in the NVD database, so two variables are needed often: CVE_PRODUCT when the recipe name differs from the product name in NVD, and CVE_VERSION when the version string differs. When you decide that a CVE does not affect you, you record it with a reason in the CVE_STATUS flag; entries that share a reason are grouped with CVE_STATUS_GROUPS. The older CVE_CHECK_IGNORE was deprecated in release 4.3.

CVE_PRODUCT = "flex_project:flex westes:flex"
CVE_STATUS[CVE-2016-10642] = "cpe-incorrect: <reason>"

The documentation states openly that this matching is not perfect: false positives (a reported CVE does not belong to that component) and false negatives (a CVE that affects the component is not found) both happen. The noisiest part is the kernel. In the manual's words, since the Linux kernel became a CVE Numbering Authority (CNA), the number of associated CVEs has increased "dramatically". Yocto answers with two scripts: generate-cve-exclusions.py, which is run by hand when a kernel recipe is updated and produces the CVE_STATUS entries, and improve_kernel_cve_report.py, which narrows the report to the files that are actually compiled. For the second one the documentation says it reduces CVE false positives by 70%–80%; that is the documentation's own statement, not our measurement. The script needs the list of compiled files, which this line provides:

SPDX_INCLUDE_COMPILED_SOURCES:pn-linux-yocto = "1"

With Wrynose the tool changed as well. The 6.0 migration guide says the cve-check class was removed and replaced by sbom-cve-check; the commit message it quotes as the reason says it has long been known that the old class is not that usable in the real world. The new tool is enabled with a configuration fragment, and the vex class writes the data that external tools use for vulnerability checks to a separate file with the .vex.json suffix:

OE_FRAGMENTS += "core/yocto/sbom-cve-check"
INHERIT += "vex"
tmp/deploy/images/<machine>/<image-name>-<machine>.rootfs.sbom-cve-check.yocto.json
tmp/deploy/images/<machine>/<image-name>-<machine>.rootfs.sbom-cve-check.spdx.json

If an older layer still carries INHERIT += "cve-check", the line has to be removed in 6.0. This continues, one LTS later, the list in the Kirkstone to Scarthgap migration.

In the CRA, all of this maps to reporting. Since 11 September 2026 a manufacturer has to send an early warning within 24 hours of becoming aware that a vulnerability in its product is being actively exploited. The first question in those 24 hours is not a legal one: which images contain this version of this component, and which devices run those images?

What can the build system not see?

create-spdx lists what BitBake knows as a recipe and builds. In an embedded product, part of the software sits outside that boundary. The table below is not a quote from any document. It is a list of situations that come up again and again in board support package work.

Component Why it does not enter the list What to do
A bootloader built outside Yocto Built with the vendor's separate SDK or a separate pipeline, and added to the image as a binary Move the build into a recipe, or add the component to the SBOM by hand with its version and hash
Vendor binary blobs and firmware (memory training, GPU, wireless, secure world) No source; the recipe only copies a ready-made file Ask the vendor for version and component information; record it as a component whose content cannot be decomposed
MCU firmware on companion cores (Cortex-R, Cortex-M) Built with a different toolchain, often in a different repository Generate its own SBOM and reference it from the main SBOM
FPGA bitstream and the IP cores inside it Not modelled as a software package A separate component record; version and hash
Packages and containers installed in the field They arrive after the image is built Keep the image closed, or keep a runtime inventory

The BSI guideline knows the case in the second row: it classifies archives that cannot be decomposed into their original components as "unstructured" and gives firmware images as an example. So a component with unknown content is not left out of the SBOM. It is written down with the fact that its content is unknown. The guideline also allows one SBOM to reference another, on the condition that the referenced document meets the guideline's requirements too.

One more question stays outside the list, and it is not the job of any SBOM tool: which device in the field runs which version? Generating a separate SBOM for each software version is of no use without a chain that ties the build ID to the update package and the update package to the device record. That chain is part of the update infrastructure. It is covered, together with the question of which version an interrupted update leaves a device on, in OTA update failure modes.

Where it goes wrong

  1. Generating the SBOM once and filing it. BSI asks for a separate SBOM for each software version, and every update that goes to the field is a new version. The SBOM has to be an output of the build pipeline, not an attachment prepared by hand.
  2. Staying on the default version. The file you get in Scarthgap without doing anything is SPDX 2.2; BSI's current floor is 3.0.1.
  3. Handing over the vulnerability report as the SBOM. The SPDX report enriched with vulnerabilities and the base SBOM are separate files with separate purposes.
  4. Reading the kernel CVE list raw. Without filtering out entries for drivers that are not built, the list cannot be managed, and the filtering itself has to be recorded with its reasons.
  5. Forgetting the software outside the build system. The bootloader and vendor blobs are often the most privileged code on the device, and they are also what is most often missing from the list.
  6. Trying to read the support period from the SBOM. An SBOM shows the components of today. It does not show for how many more years those components will receive fixes.

What this article cannot tell you

This article compares documents. It is not a report of a verification on an image of our own. What stays open:

  • Whether the create-spdx output covers each required field of TR-03183-2. In particular the SHA-512 hash, the executable / archive / structured properties and the dependency completeness indication.
  • The exact specification revision of Yocto's SPDX 3 output, and the side effects of enabling SPDX 3 on Scarthgap.
  • Whether the base SBOM contains records about fixed vulnerabilities, and whether that falls under BSI's rule that an SBOM contains no vulnerability information.
  • The route from Yocto to CycloneDX. The Yocto documentation describes SPDX; we did not look at third-party tools for CycloneDX.
  • The effect of SBOM generation on build time and output size. We did not measure it and give no figures.
  • Under which conditions and how the SBOM is provided to market surveillance authorities. We did not verify this.
  • Harmonised standards. The BSI guideline says it will give way to them once they exist; on the access date we saw no numbered SBOM standard on the Commission's CRA pages.

A note on the regulation text: EUR-Lex returned empty responses to automated access, so we read the articles from a source that reproduces the Official Journal text. The text on EUR-Lex is the binding one; check the article numbers there.

This is the layer we work in. Under Yocto and BSP: LTS migrations, secure boot and OTA with rollback, and board support packages for TI, NXP and NVIDIA platforms. We provide software services; we do not sell hardware. If you want to look together at what your build system produces today and what it does not see, the starting point is the architecture audit.

Frequently asked questions

Does the CRA make an SBOM mandatory?

Yes. In Annex I Part II(1), Regulation (EU) 2024/2847 requires the manufacturer to document the components in its product and, for that purpose, to draw up a software bill of materials in a commonly used, machine-readable format that covers at least the top-level dependencies. The obligation applies from 11 December 2027.

Which SBOM format does the CRA require, SPDX or CycloneDX?

The regulation names no format; it only asks for a commonly used and machine-readable one. Germany's BSI accepts CycloneDX 1.6 or higher, or SPDX 3.0.1 or higher, in version 2.1.0 of its TR-03183-2 guideline. That guideline is not binding and gives no presumption of conformity.

Does Yocto generate an SBOM on its own?

From Scarthgap (5.0) on, yes. The create-spdx class is active by default through the distro configuration and leaves a .spdx.json file under tmp/deploy/images/MACHINE/ together with the image. In Kirkstone (4.0) it is off by default and is enabled with the line INHERIT += "create-spdx".

Does the SBOM that Scarthgap produces meet the version requirement of BSI TR-03183-2?

Not with the default setting. Scarthgap produces SPDX 2.2 by default, while version 2.1.0 of the guideline asks for SPDX 3.0.1 or higher. Scarthgap has SPDX 3 support, but it is disabled by default; in Wrynose (6.0) SPDX 3 is the only option.

Is CVE information written into the SBOM?

According to BSI TR-03183-2, no. The guideline requires that an SBOM contains no vulnerability information and recommends exchanging that information separately through CSAF or VEX. In Yocto 6.0 the vulnerability scan is done with sbom-cve-check, and the result is written to files separate from the SBOM.

Do I have to give the SBOM to my customer?

The CRA does not require it. Under Annex II point 9, if the manufacturer decides to make the SBOM available to the user, it states where it can be accessed. A customer who asks for an SBOM by contract is a separate matter, independent of the regulation.

Sources

Accessed: 19 November 2026.