SBOMs and the Cyber Resilience Act: What Embedded Teams Need to Do Now
If you sell a connected product into Europe, you are going to be asked for a software bill of materials — an SBOM. Not as a nice-to-have in a procurement spreadsheet, but as part of a legal conformity process under the EU Cyber Resilience Act (CRA). And if your product runs embedded Linux, the honest question is not whether you can produce a list of packages. Almost anyone can produce a list. The question is whether that list is accurate, tied to the exact firmware you shipped, and reproducible when an auditor, a customer, or a regulator asks for it again in eighteen months.
This post is a practical guide for Yocto-based teams: what the CRA actually requires, what a good SBOM contains, how to generate one from a Yocto build instead of assembling it by hand, and the process work around it that matters more than the file format.
What the Cyber Resilience Act actually asks for
The CRA entered into force in December 2024, with its main obligations applying from December 2027. Vulnerability and incident reporting obligations apply earlier, from September 2026. Exact timelines and harmonised standards are still being finalised, so treat any specific date in a blog post — including this one — as a prompt to check the current official guidance, not as legal advice.
The shape of the obligation is clear enough to act on now. For products with digital elements sold in the EU, manufacturers will need to:
- Identify and document the components in the product, including an SBOM in a commonly used, machine-readable format covering at least the top-level dependencies.
- Handle vulnerabilities throughout the product's support period — monitoring for them, patching them, and reporting actively exploited vulnerabilities and severe incidents within tight deadlines.
- Provide security updates for a support period that is generally expected to be at least five years, unless the product is expected to be in use for a shorter time.
- Document all of this as part of the technical documentation behind the CE marking.
Two things are worth noticing. First, the SBOM is not the goal on its own. It is the inventory that makes vulnerability handling possible. An SBOM you never scan against new CVEs is a filing-cabinet exercise. Second, the CRA does not say "use Yocto" or "use SPDX." It says: know what is in your product, in a format tools can read. Teams building from source with Yocto are unusually well placed to do that well.
What a useful SBOM contains
An SBOM is a nested inventory of software components and their relationships. For an embedded Linux image, a useful one includes, for every package in the shipped image:
- Component name and version, exactly as built — not the version you meant to build.
- Supplier or upstream source, and where the source was fetched from.
- A unique identifier where possible, such as a Package URL (purl) or an SPDX identifier.
- The relationship between components — which package depends on which, and which packages actually landed in the image versus which were only build-time tools.
- License information for each component.
- Checksums of the delivered artefacts where applicable.
The standards you will meet most often are SPDX (ISO/IEC 5962) and CycloneDX. Yocto's built-in tooling emits SPDX. Other tools in your customers' security organisations may want CycloneDX. This is mostly a conversion problem, not a reason to delay: generate the richest SBOM you can at build time, in SPDX, archive it with the release, and convert when a customer asks for another format. What you cannot do retroactively is invent accurate provenance for a build whose inputs you no longer have.
Just as important is scope. There are at least three SBOMs people conflate:
- The build SBOM — everything fetched and compiled, including compilers and host tools. Large, useful for licence and provenance audits.
- The image SBOM — only what is in the shipped root filesystem and kernel. This is the one vulnerability scanning should run against, because a CVE in a build-only tool is a different risk from a CVE in a library running on a fielded device.
- The device SBOM — the image plus bootloader, firmware blobs, and any separately delivered components such as modem firmware. The CRA is about the product, not just the Linux image, so keep a list of those non-Yocto components too.
If you only do one thing after reading this post, make sure your release process does not confuse the build and image SBOMs. Scanning the build SBOM and reporting every CVE in it will bury your team in findings for software that never shipped.
Generating an SBOM from a Yocto build
Yocto has had the machinery for this for several releases. You do not need to buy a platform to get started.
Turn on SPDX creation
In your distro or local configuration, inherit the create-spdx class:
INHERIT += "create-spdx"
On recent Yocto releases the build will emit SPDX documents under tmp/deploy/spdx/ alongside your images. Each recipe contributes its package data, and the image-level document links what actually went into the image. Check your release's documentation for the exact class name and variables — this area has moved quickly between releases — and pin the behaviour in your distro config, not in a developer's local.conf, so CI and local builds produce the same thing.
Keep the manifests you already get
Even before SPDX, a Yocto build produces two artefacts worth archiving with every release:
- The image manifest — every installed package and its exact version.
- The licence manifest — every package and its licence.
These are human-readable and diff-able. A diff of two releases' manifests is the fastest way to answer "what changed in this update?" — a question you will be asked after every security incident.
Archive the SBOM with the release, not in a wiki
For each release, store together, with the same retention as your shipped firmware:
- The image SBOM (SPDX JSON).
- The image and licence manifests.
- The exact layer revisions and the build configuration.
- The signed image itself, or at minimum its checksum.
If the SBOM lives in a ticket attachment or someone's home directory, it does not exist for compliance purposes. Tie it to the release tag.
Mind the gaps Yocto cannot see
- Prebuilt binaries pulled in by a recipe without proper metadata — make sure the recipe declares its licence, version, and provenance explicitly.
- Local patches that change upstream code without changing the version string.
- Kernel, bootloader and firmware — confirm they appear in your product-level inventory even if they are not in the rootfs SBOM.
- Vendored application dependencies inside a single recipe — the SBOM sees one component where there are really twenty.
The SBOM is step one. Vulnerability handling is the job.
Once you have an image SBOM per release, the ongoing process looks like this:
- Scan continuously, not per release. New CVEs are published against old versions every week. Feed your shipped SBOMs — for every version still supported in the field — into a scanner and triage new findings.
- Use Yocto's CVE checking as a second signal. Inheriting
cve-checkproduces per-image CVE reports at build time. When you backport a fix, mark the CVE as patched in your recipe metadata instead of leaving a permanent false positive. - Triage by reachability, not just CVSS. Document the reasoning for findings you decide not to patch. A documented, defensible triage decision is part of compliance; an unscanned SBOM is not.
- Have the reporting path written down before you need it. From September 2026, manufacturers will have 24 hours from becoming aware of an actively exploited vulnerability to make an early report. Decide now who monitors advisories, who decides, and who files.
- Ship the fix. SBOM and CVE work pairs naturally with A/B updates and a tested rollback path: the SBOM tells you which fleet versions are affected, and the update system is how you close the exposure.
How long do you have to do this for?
The support period is the decision teams underestimate. The CRA generally expects security updates for at least five years. Industrial products routinely live for ten to fifteen years. That has concrete engineering consequences:
- Choose a Yocto LTS release and plan at least one platform upgrade inside your support period.
- Keep your layers clean and your customisations small. Every forked recipe is a component you maintain for a decade.
- Keep the build reproducible. You need to be able to rebuild — and re-issue an SBOM for — a five-year-old release on a bad day.
- Put the support period in product documentation and customer contracts, so the commercial promise and the engineering capability match.
A pragmatic 90-day starting plan
Weeks 1–2: Inventory. Enable SPDX generation in CI, archive the image manifest and licence manifest with each build, and produce your first image SBOM for the current release. Write down the non-Yocto components in a simple supplementary list.
Weeks 3–6: Scanning and triage. Run the SBOM through a scanner, turn on cve-check in the build, and hold your first triage session. Fix the metadata problems before arguing about individual findings.
Weeks 7–12: Process. Define the release checklist, the monitoring cadence, the incident-reporting owner, and the documented support period. Test the full loop with a drill: pick a real recent CVE and walk it from advisory to "which shipped versions contain it, and what is our decision?"
At the end of that, you will not be "CRA certified" — no blog post can do that. You will have the inventory, the scanning habit, and the paper trail that both the regulation and your enterprise customers are actually asking for.
The opportunity in this
It is tempting to file all of this under regulatory cost. But a team with a per-release SBOM, continuous CVE triage, and a working update path has an answer, in minutes, to the question every serious customer now asks after a headline vulnerability — "are we affected?" That answer used to take weeks of archaeology, or was simply unknowable.
If you're weighing how to get your Yocto platform to that point — SBOM generation, CVE process, or the update mechanism underneath it — we're happy to talk through it.
Shipping an industrial Linux device?
We build the custom Yocto OS, AWS IoT onboarding, and update path beneath it — on your board or one we source. Start with a one-week audit and a fixed-price quote.