Comparison
CycloneDX vs SPDX
Two open standards dominate the SBOM landscape. Neither format alone establishes regulatory compliance; they were designed for different jobs. Here's how to pick — and why most mature teams end up producing both.
The short answer
- Pick CycloneDX if your first question is "am I vulnerable?" — VEX, ML-BOM and CBOM are integrated into its supply-chain model.
- Pick SPDX if your first question is "can I legally ship this?" — deeper license and copyright lineage, ISO-standard, often useful for detailed procurement and licensing reviews.
- Produce both when your buyers require them. Check generator coverage and preserve each original artifact for review.
Field-by-field
Reviewed 25 October 2026 against CycloneDX 1.7, SPDX 3.0.1, and sbom-tools v0.3.0. Standard capabilities and CLI input coverage are distinguished below.
| Feature | CycloneDX | SPDX |
|---|---|---|
| Versions compared | 1.7 | 2.3 and 3.0.1 |
| Stewardship | OWASP | Linux Foundation; SPDX 2.2.1 is ISO/IEC 5962:2021 |
| Focus | Security and supply-chain transparency | License lineage, software, security, AI and data |
| CLI input serializations | JSON / XML (1.4–1.7) | JSON / tag-value / RDF/XML (2.2/2.3); JSON-LD (3.0/3.0.1) |
| Package URL (PURL) | ||
| NTIA data representation | Fields available; completeness depends on generator | Fields available; completeness depends on generator |
| Vulnerability information | Vulnerabilities and VEX | Security profile in 3.0.1 |
| AI models and datasets | Model cards and ML-BOM | AI and Dataset profiles in 3.0.1 |
| Crypto inventory | cryptoProperties (1.6/1.7) | No equivalent CBOM profile in the reviewed CLI |
| License expressions | SPDX expressions | SPDX expressions |
| Regulatory readiness | Not certification; assess populated fields | Not certification; assess populated fields |
Converting between them
Conversion can preserve common identifiers, versions, licenses and relationships, but is not guaranteed to be lossless. AI and security structures differ between CycloneDX and SPDX 3.0.1; older SPDX versions have different capabilities again. Validate the converted result and retain the original as the artifact of record.
How sbom-tools handles both
The reviewed sbom-tools v0.3.0 reads CycloneDX 1.4–1.7 JSON/XML; SPDX 2.2/2.3 JSON, tag-value and RDF/XML; SPDX 3.0/3.0.1 JSON-LD, including AI and Dataset profiles. Cross-format diffing uses a normalized model, not every possible specification field. Quality profiles assess recorded evidence; they do not certify legal compliance.
sbom-tools diff release-v1.cdx.json release-v2.spdx.json sbom-tools validate bom.spdx.json --standard ntiaSee all features
Official specifications
CycloneDX 1.7 JSON · CycloneDX 1.7 XML · SPDX 3.0.1