A Software Bill of Materials (SBOM) is a formal, machine-readable inventory of the components that make up a piece of software: open source and commercial libraries, their versions, suppliers, unique identifiers and dependency relationships. Like an ingredient list, it lets producers and operators answer quickly whether a newly disclosed vulnerability affects their software. Common formats are SPDX and CycloneDX.
What is an SBOM?
A Software Bill of Materials (SBOM) is a structured list of everything a piece of software is built from. Modern applications consist mostly of third-party code: frameworks, libraries, their transitive dependencies and, in containers, an entire set of operating system packages. An SBOM records these components with name, version, supplier and a unique identifier, and it describes how they depend on each other.
The idea comes from manufacturing, where a bill of materials lists every part of a product. In software, the value shows when a new vulnerability is published. With an SBOM, the question "Do we use the affected library anywhere, and in which version?" becomes a search instead of a manual hunt through repositories and images. That makes the SBOM a foundation for working with CVEs and for software supply chain security in general.
Formats: SPDX and CycloneDX
Two open, machine-readable formats are widely used:
- SPDX (Software Package Data Exchange) is a Linux Foundation project that originated in license compliance. It is published as the international standard ISO/IEC 5962:2021 and can be serialized as JSON, YAML, RDF or tag-value text.
- CycloneDX is an OWASP project designed with security use cases in mind. Besides software components it can describe services, hardware and vulnerability information, and it is available in JSON, XML and Protocol Buffers.
Both formats identify components with package URLs (purl) or CPE names, which allows matching against vulnerability databases. A heavily shortened CycloneDX example:
{
"bomFormat": "CycloneDX",
"specVersion": "1.5",
"components": [
{
"type": "library",
"name": "jackson-databind",
"version": "2.15.2",
"purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.15.2"
}
]
}
Minimum elements and regulation
In the United States, Executive Order 14028 on improving the nation's cybersecurity (May 2021) made SBOMs a topic for software sold to federal agencies. Based on it, the NTIA published the minimum elements for an SBOM. They cover data fields (supplier, component name, version, other unique identifiers, dependency relationship, author of the SBOM data and timestamp), support for automation through standard formats, and practices such as how often an SBOM is generated and how it is shared.
In the European Union, the Cyber Resilience Act (CRA) sets security requirements for products with digital elements. It entered into force in December 2024, and most obligations apply from December 2027. Among them, manufacturers must draw up an SBOM in a commonly used, machine-readable format that covers at least the top-level dependencies of the product. Which products and obligations apply in detail should be checked against the regulation itself.
How SBOMs are created
SBOMs are usually generated automatically, not written by hand. Typical points in the lifecycle are:
- Source and build: tools read lock files and build manifests (for example
package-lock.json,pom.xmlorgo.sum) and produce an SBOM during CI. This is the most precise view of declared dependencies. - Artifact and container image: scanners such as Syft or Trivy analyze a finished image, including operating system packages that no manifest mentions.
- Runtime: an agent observes which libraries are actually loaded by running processes. This reveals what really runs in production, including components added outside the build.
Generating the SBOM in the pipeline and storing it next to the artifact, ideally signed, keeps it versioned and reproducible, in the same spirit as Infrastructure as Code.
From SBOM to vulnerability management
An SBOM is an inventory, not a risk assessment. Matched against vulnerability databases it produces a list of affected components, which for larger systems quickly grows to thousands of entries. Two additions make it actionable. VEX (Vulnerability Exploitability eXchange) statements let a supplier declare that a component is present but not exploitable in a given product, for example because the vulnerable function is never called. Runtime context shows whether a library is loaded at all, whether the process is reachable from the internet and whether it handles sensitive data. Our article on vulnerability prioritization with CVSS, EPSS and runtime context explains this approach. For components that cannot be patched immediately, runtime application self-protection can reduce the risk until a fix is deployed.
Best practices
- Automate generation for every build and release, not once per year.
- Include transitive dependencies, because many vulnerabilities sit several levels deep.
- Use unique identifiers such as purl, so matching against vulnerability data works reliably.
- Keep SBOMs per version, so you can answer which releases in the field contain a component.
- Define a process: who checks new findings, who decides, and which runbook applies to a critical, exploited vulnerability.
How Obseria helps
Obseria Runtime Vulnerability Analytics provides SBOM visibility for containers and libraries running in your environment. Findings are scored with runtime data, such as whether the affected library is loaded and whether the process is reachable from the internet, and they are mapped to deployments and the teams that own the code. Release gates can stop releases that would ship critical, exposed vulnerabilities.