What is a Software Bill of Materials (SBOM)?

Table of Contents: Definition – Content – Use – Creation – Standards – Legal requirements – Advantages and disadvantages – Questions – Notes

Smartpedia: A Software Bill of Materials (SBOM) is a machine-readable inventory that documents software components, their versions and their dependencies.

Software Bill of Materials: Knowing what is inside a piece of software

A critical security vulnerability is discovered in a widely used software library. Companies need to find out as quickly as possible whether, and in which versions of their products, they use the affected library. But this is harder than first expected: some development teams only know the libraries they have integrated themselves, while other components have found their way into the software via additional dependencies. To determine which products are affected, companies first have to reconstruct precisely how those products are made up. Valuable time passes while the vulnerability remains wide open and may already be being exploited.

Software Bill of Materials: Knowing what is inside a piece of software

A Software Bill of Materials (SBOM) is intended to make precisely this information available. It is a structured, machine-readable inventory that documents the components of a piece of software, their versions and their dependency relationships. The term is modelled on the bills of materials used in industrial manufacturing.

With a properly maintained SBOM, the situation for the companies affected changes considerably: instead of first having to reconstruct the composition of their products, they can search specifically for the affected library and investigate which of their products are actually at risk. Ideally, the inventory information required for this is already captured during software development and product creation and is available whenever it is needed.

Key points at a glance

  • An SBOM documents the composition of a specific software version in machine-readable form.
  • It can capture both direct and transitive dependencies between software components.
  • SPDX and CycloneDX are two widely used standards for software bills of materials.
  • An SBOM supports vulnerability management, licence compliance checks and risk management in software supply chains.
  • The European Cyber Resilience Act (CRA) makes software bills of materials mandatory for products within its scope.
  • The value of an SBOM depends on the completeness, currency and reliability of the information it contains. Its existence is no proof that a piece of software is secure.

What information does a Software Bill of Materials contain?

For software components to be identified unambiguously and, for example, matched against information from vulnerability databases, an SBOM needs more than the names of the libraries and frameworks used. Version numbers, origin and the relationships between the components also matter.

Typical information in a Software Bill of Materials includes:

  • Component name: the name of a library, framework or other software building block.
  • Version: the specific version of the component used.
  • Supplier: the organisation, company or project that provides the component.
  • Component identifier: a standardised identifier such as the Package URL (PURL), which makes it easier to match a component across different systems.
  • Dependencies: the relationships between the software components included.
  • Licence information: details of the licences under which the components may be used and distributed.
  • Hash values: cryptographic checksums that can be used to identify software artefacts and verify their integrity.
  • Metadata: information about the SBOM itself, e.g. when it was created, who created it or which tool was used.

Which information is mandatory depends on the applicable regulatory requirements, the technical specifications and, where relevant, the contractual agreements between manufacturers and customers. [1]

Direct and transitive dependencies

A particular feature of software products is that individual components themselves consist of further components or need them in order to function. Software development therefore distinguishes between two types of dependency:

  1. Direct dependencies arise when a piece of software uses another component directly, e.g. a library for processing PDF documents.
  2. Transitive dependencies arise when this library in turn requires further components, for example to process images or compress data. These components may in turn have dependencies of their own.

As a result, integrating just a few libraries can mean that a piece of software contains numerous additional components that the development team neither selected nor integrated directly. If, for example, a vulnerability becomes known in the image processing library, the application for processing PDF documents may also be affected. An SBOM that documents all identified components and their dependency relationships shows how the affected library found its way into the application. Among other things, this is relevant for fixing the vulnerability, as the higher-level PDF library may need to be updated first.

In practice, it is not always possible to determine the composition of a piece of software without gaps. For example, information about the internal make-up of proprietary components may be missing, or the tools used may fail to detect certain embedded libraries. Such information gaps should be explicitly flagged in an SBOM. When assessing software, it makes a considerable difference whether a component demonstrably has no further dependencies or whether its dependencies are simply unknown.

Even a formally valid, machine-readable SBOM is therefore no guarantee that all the components of a piece of software have been captured.

What is a Software Bill of Materials used for?

Knowing what a piece of software is made of is relevant to various parts of a company. While security teams need the information to investigate vulnerabilities, legal departments, for instance, are interested in the licence terms of the components used. Purchasing and software development can also make use of the information in an SBOM.

Area of application Benefits of an SBOM
Vulnerability management When a vulnerability becomes known, companies can match their SBOMs against current vulnerability data. This shows which products and product versions contain a potentially vulnerable component. Whether the vulnerability can actually be exploited in the respective context of use must then be investigated.
Licence management Particularly when open source software is used, licence terms can give rise to obligations, e.g. to provide licence texts or to disclose source code. An SBOM makes it easier to identify the components concerned and their licences. The legal assessment of the resulting obligations is carried out separately.
Software procurement Companies can request an SBOM from the manufacturer before purchasing software. The information can feed into the security assessment and the purchasing decision. After the purchase, user organisations can also use the SBOM to investigate whether newly disclosed vulnerabilities could affect the products they use.
Risk management in the software supply chain By analysing several SBOMs, companies can recognise when numerous products depend on the same component or the same supplier. If the development of such a component is discontinued, this can affect large parts of the product portfolio.
Maintenance and further development An SBOM helps development teams to identify outdated components and dependencies that span several products. If, for example, a library is to be replaced by an alternative solution, it is possible to determine which products and product versions need to be taken into account in the planning.

Further benefit comes from the standardised exchange of information between software manufacturers, suppliers and user organisations. If a manufacturer sources software components from several suppliers, for example, it can take their SBOMs into account when creating its own. The prerequisite is that the information provided is sufficiently complete, reliable and technically compatible.

In this way, information about the composition of software can be passed on and processed across company boundaries and through several tiers of a software supply chain.

How is an SBOM created?

In practice, SBOMs are mostly generated using specialised tools. These analyse, for example, package configurations, information from build processes or software artefacts that have already been built. Which components are detected depends on the analysis method chosen, the technologies used and the point at which the information is captured.

The following approach is recommended for creating and maintaining an SBOM:

  1. Define the scope: The development team determines for which product and which product version an SBOM is to be created. This includes clarifying which parts need to be considered, e.g. libraries, integrated software packages, operating system components or parts of container images.
  2. Capture the components: Suitable tools are used to identify the software components contained, their versions and their dependency relationships. Depending on the analysis method, licence information, component identifiers and other metadata can also be captured. Existing SBOMs from suppliers can be included as well.
  3. Review the results: The generated SBOM is checked for formal validity, plausibility and recognisable information gaps. Missing version details, unknown dependencies or contradictory information may require further investigation.
  4. Provide the SBOM: The SBOM is stored in a standardised, machine-readable format and clearly assigned to the relevant product version. The company also determines which internal and external stakeholders are given access and via which interfaces the information is provided.
  5. Ensure updating and retention: Wherever possible, SBOM creation is integrated into automated build and release processes. Responsibilities for the quality, correction and long-term retention of the SBOMs are defined.

Integrating SBOM creation into existing development and release processes reduces manual effort and ensures that an SBOM is available for every product version delivered.

What standards are there for Software Bills of Materials?

For SBOMs to be created, exchanged and processed by different organisations and tools, common standards are needed. These define how information about software components and their dependencies is structured and described. Without such standards, companies would have to develop individual interfaces in order, for example, to import SBOMs from different suppliers into their own systems.

Two open standards have become established: SPDX and CycloneDX. They have different histories and were originally designed with different priorities.

SPDX (System Package Data Exchange) is a Linux Foundation project whose original focus was the standardised documentation of software components and their licence information. Particularly when open source software is used, SPDX makes it easier to identify licences unambiguously and to describe complex licensing situations. [2]

As the standard evolved, it was extended to include additional ways of documenting provenance, dependencies and security-related information. Since 2021, version 2.2.1 of the SPDX specification has been recognised as the international standard ISO/IEC 5962.

CycloneDX was developed within the Open Worldwide Application Security Project (OWASP) community. Its original focus was transparency in software supply chains as a basis for identifying and assessing security risks.

In addition to SBOMs, CycloneDX now also supports the structured documentation of hardware components, cryptographic methods and external services. The standard also offers ways of describing vulnerabilities and communicating their impact on specific products. Since 2024, CycloneDX has been recognised as the international standard ECMA-424. [3]

SPDX and CycloneDX compared:

Characteristic SPDX CycloneDX
Responsible organisation Linux Foundation OWASP Foundation
Original focus Software components and licence information Security in software supply chains
Documentation of software components Yes Yes
Mapping of transitive dependencies Yes Yes
Documentation of licence information Yes Yes
Mapping of security information Yes Yes
International standard ISO/IEC 5962:2021 (SPDX 2.2.1) ECMA-424

Today, the original priorities no longer draw a clear line between the two standards. Both have been continuously extended and now support many of the same areas of application.

When choosing a standard, companies should therefore consider what information they want to document, which specification versions their tools support and what requirements customers, suppliers or authorities place on the provision of an SBOM. [4] Conversion between the two standards is also possible, but may result in a loss of information due to their different data models.

Advantages and disadvantages of a Software Bill of Materials

The benefit of a Software Bill of Materials depends largely on how reliable the information captured is and how consistently companies integrate it into their workflows. While a well-maintained SBOM reduces the effort involved in gathering and analysing information, an incomplete or incorrect SBOM can lead to the wrong conclusions.

The advantages include:

  • When new vulnerabilities are discovered, key information for the investigation is already available. Ideally, there is no need for a time-consuming reconstruction of the software’s composition after the event, which gives companies valuable time in an emergency.
  • By retaining SBOMs, companies can trace the composition of a product even years after it was delivered, regardless of whether the original development teams are still available.
  • The machine-readable structure enables automated matching against vulnerability and licence databases as well as the analysis of dependencies across products.
  • If manufacturers provide their customers with SBOMs, the information gap between the two parties narrows. Customers can carry out their own investigations and are less reliant on individual information from manufacturers.
  • Documenting the components used and their dependencies helps to preserve knowledge within the company and reduces dependence on the personal knowledge of individual developers.

These advantages are offset by a number of disadvantages and challenges:

  • Even if creation is largely automated, effort is required to set up the tools and for the quality assurance, retention and provision of the SBOMs.
  • Particularly with proprietary components, older software products or complex build processes, it may not be possible to identify all parts and dependencies reliably. The informative value of the SBOM remains correspondingly limited.
  • Different tools can produce different SBOMs for the same software product. Differences between specification versions and data models can also make it harder to consolidate information.
  • If a piece of software contains numerous components with known vulnerabilities, investigating their actual impact on the product may require additional information and considerable analytical effort.
  • Passing on a detailed SBOM can disclose confidential information and allow conclusions to be drawn about internal technologies, architectural decisions and the proprietary components used.
  • The existence of an SBOM can create a false sense of security if companies conclude from it, or from the absence of known vulnerabilities, that their software is secure.

A particular challenge is not to treat SBOM creation as a one-off documentation task or a purely regulatory obligation. Anyone who generates SBOMs but then simply archives them forgoes a substantial part of their practical value.

Questions from the field

Here you will find some questions and answers from practice:

At what point should an SBOM be created?

An SBOM can be produced at different points in the development process. Analysing the declared dependencies during development provides early information about the components used. During the build process, the dependencies actually resolved and other included parts can also be captured. Analysing the finished software artefact, in turn, shows the components that are actually intended for delivery.

The results of these analyses may differ. For example, libraries that are only needed for automated tests may be present in the development environment but missing from the delivered product. Conversely, additional components may be added during the build process.

Depending on the technology and the intended use, it can therefore make sense to compare information from several analyses.

How often does an SBOM need to be updated?

As software products change over the course of their development, an SBOM usually refers to a specific product version. If libraries are updated, frameworks replaced or further open source packages integrated, the associated SBOM must also be updated or recreated.

Existing SBOMs for earlier product versions should be retained. User organisations often run different versions of a piece of software. By retaining the respective SBOM, it is possible to trace, even years after a product was released, which components it contained at the time of delivery.

By contrast, the publication of a new vulnerability does not require the SBOM to be recreated, provided the composition of the software has not changed and the inventory information does not need correcting. In this case, it is sufficient to match the existing SBOM against the updated vulnerability data again.

What tools are available for creating an SBOM?

Numerous commercial and freely available tools exist for creating SBOMs. [6] Open source tools include:

  • Syft: analyses container images, file systems and directories, among other things, and generates SBOMs in various formats.
  • Trivy: combines SBOM generation with functions for investigating vulnerabilities and other security risks.
  • cdxgen: supports numerous programming languages and package managers and is designed for creating standardised SBOMs.

Package managers, development platforms and Software Composition Analysis tools sometimes also offer their own SBOM generation features.

When choosing a tool, companies should consider in particular which programming languages and technologies are supported, which parts of a piece of software the tool can actually detect and how easily SBOM creation can be integrated into existing development processes.

Who is responsible for creating and maintaining an SBOM?

Within a company, there is no universal assignment to a particular role or department. Development teams often handle the technical creation, while security teams define requirements for the quality and evaluation of the SBOMs. Purchasing may also be involved, for example when SBOMs are requested from external suppliers.

What matters is a clear assignment of responsibility for creation, quality assurance, retention and provision. If these tasks are distributed across different parts of the company, the handovers between them should also be clearly defined.

Legal responsibility for meeting the SBOM requirements of the Cyber Resilience Act lies with the respective manufacturer, regardless of how it allocates tasks internally.

Can an SBOM detect vulnerabilities?

An SBOM does not perform any security analyses itself. It provides the inventory information that specialised tools can use to search for known vulnerabilities in the components captured.

A vulnerability report, on the other hand, documents identified security issues and, where applicable, their assessment. While an SBOM can remain valid as long as the composition of the software is unchanged, a vulnerability report may be out of date the very next day because new vulnerabilities have become known.

Nor can previously unknown vulnerabilities or flaws in the individual implementation of an application be detected simply by matching the SBOM against vulnerability databases.

What is the difference between an SBOM and Software Composition Analysis (SCA)?

Software Composition Analysis (SCA) refers to the analysis of the composition of a piece of software. SCA tools identify the components used and examine them, for example, for known vulnerabilities, licence terms or outdated versions.

An SBOM is a structured documentation of the composition of a piece of software, which can be the result of such an analysis or serve as input for further analyses.

While an SBOM documents, for example, that a particular open source library is included in version 2.4, a Software Composition Analysis can investigate which known vulnerabilities or licence risks are associated with that version.

How do SBOM and Vulnerability Exploitability eXchange (VEX) complement each other?

Vulnerability Exploitability eXchange (VEX) enables machine-readable communication about whether a specific software product is affected by a known vulnerability. [7]

A piece of software may, for example, contain a library for which a critical vulnerability is known. However, if the software demonstrably does not use the affected function and the vulnerability cannot be exploited by any other means, the manufacturer can flag the product as not affected in a VEX statement and give reasons for this assessment.

In this case, the SBOM documents the presence of the library, while VEX describes the product-specific status with regard to the vulnerability. By combining both pieces of information, companies can better classify security advisories and prioritise the necessary measures.

Can companies verify the information in a supplier’s SBOM?

Companies can first check whether the SBOM conforms to the stated standard, contains the required information and is clearly assigned to the product version delivered. Cryptographic signatures can also help to verify the origin and integrity of the document.

In addition, companies can try to verify the information by carrying out their own analysis of the software delivered. Depending on the type of product and the information available, however, this is only possible to a limited extent. With proprietary software in particular, certain parts or dependency relationships can be difficult to detect from the outside.

A formally valid and digitally signed SBOM therefore does not prove that the information it contains is complete and factually correct. Corresponding quality requirements, obligations to provide evidence and procedures for correcting inaccurate information can form part of the contractual agreements with suppliers.

What does ‘machine-readable’ mean in the context of an SBOM?

Machine-readable means that the information in an SBOM is available in a defined data structure that software tools can process automatically. Common file formats include JSON (JavaScript Object Notation) and XML (Extensible Markup Language).

While a list of components in a PDF document is primarily prepared for humans, tools can access individual pieces of information in a standardised SBOM directly, such as component names, versions, licence information or dependency relationships.

This makes it possible, for example, to check thousands of SBOMs automatically to see whether they contain a specific version of a vulnerable library. The prerequisite is that the systems involved understand the data structure used and the meaning of the individual entries. Simply using a file format such as JSON does not, on its own, turn a file into a standardised SBOM.

Impulse to discuss:

How much responsibility can companies take for the security of the software they use if manufacturers decide for themselves whether to disclose their SBOMs?

Notes:

If you like this post or would like to discuss it, please feel free to share it within your network.

[1] The Cybersecurity and Infrastructure Security Agency (CISA), together with international partners including the German Federal Office for Information Security (BSI), has published recommendations on the minimum elements of a Software Bill of Materials: 2026 Minimum Elements for a Software Bill of Materials (SBOM).

[2] SPDX originally stood for ‘Software Package Data Exchange’. As the standard was extended to cover additional areas of application, the name changed to ‘System Package Data Exchange’. Further information is available from the Linux Foundation at SPDX Overview.

[3] Information on the structure, functionality and possible uses of CycloneDX can be found at Software Bill of Materials (SBOM). A detailed guide to introducing SBOMs is also available there.

[4] In its Technical Guideline BSI TR-03183, Part 2: Software Bill of Materials, the German Federal Office for Information Security (BSI) describes requirements for the content and provision of SBOMs. The guideline does not define an exchange format of its own.

[5] The legal requirements for SBOMs can be found in Regulation (EU) 2024/2847 (Cyber Resilience Act), in particular in Annex I, Part II, point 1 and in Annex VII.

[6] In its article Choosing an SBOM Generation Tool, the Open Source Security Foundation explains which aspects to consider when selecting suitable tools for creating SBOMs. The CycloneDX Tool Center also offers an extensive overview of tools.

[7] Further information on communicating whether software products are actually affected by known vulnerabilities can be found at Vulnerability Exploitability eXchange (VEX).

Here you will find an interesting article on Documentation in code – pros and cons.

And here you’ll find more information from our Smartpedia section:

Smartpedia: What is Continuous Delivery?

What is Continuous Delivery?

Smartpedia: What is human-in-the-loop?

What is human-in-the-loop?

Smartpedia: What is Software Modernisation?

What is Software Modernisation?

‘Smartpedia’ is our glossary for people in organisations involved in software development, project management and product management. It is for precisely these people and their organisations that we have been developing and modernising software since 2012. Pragmatic. ✔️ Personal. ✔️ Professional. ✔️

Get to know t2informatik from Berlin as your development partner.