CycloneDX 1.6 vs SPDX 2.3 Technical Comparison
| Dimension | CycloneDX 1.5 / 1.6 | SPDX 2.3 (ISO/IEC 5962) |
|---|---|---|
| Primary Focus | Application security, vulnerability triage, SaaS & firmware | License compliance, IP legal provenance, Linux distros |
| Package Identifier | Native top-level purl & cpe fields | externalRefs[] with referenceType: purl |
| Dependency Graph | dependencies[].dependsOn[] | relationships[] with DEPENDS_ON / DESCRIBES |
| Cryptographic Hashes | hashes: [{ alg: 'SHA-256', content }] | checksums: [{ algorithm: 'SHA256', checksumValue }] |
| VEX Integration | Native CycloneDX VEX + OpenVEX compatible | Pairs cleanly with OpenVEX v0.2.0 via PURL |
SPDX 2.3 Package PURL & SHA-256 Structure
{
"SPDXID": "SPDXRef-Package-dropbear",
"name": "dropbear",
"versionInfo": "2022.83-1",
"licenseConcluded": "MIT",
"checksums": [{ "algorithm": "SHA256", "checksumValue": "223344...64hex" }],
"externalRefs": [{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:deb/debian/dropbear@2022.83-1"
}]
}
When to Pick CycloneDX 1.6
Choose CycloneDX 1.5 or 1.6 if your team ships commercial SaaS, IoT firmware, or container images and wants compact JSON with first-class PURL fields, build lifecycles, and fast CI generation via Syft, Trivy, or @cyclonedx/cyclonedx-npm.
When to Pick SPDX 2.3
Choose SPDX 2.3 if your organization builds embedded Linux distributions (Yocto, Buildroot, Debian) or needs ISO/IEC 5962:2021 alignment for enterprise legal license reviews alongside CRA compliance.
Frequently Asked Questions
Can CheckSBOM validate both CycloneDX and SPDX?
Yes. CheckSBOM auto-detects CycloneDX 1.4/1.5/1.6 JSON and SPDX 2.2/2.3 JSON locally in the browser and scans both against live OSV.dev.
Related EU CRA & SBOM Guides
EU CRA SBOM Requirements Explained (Regulation (EU) 2024/2847)
Complete technical breakdown of EU Cyber Resilience Act SBOM obligations under Annex I Part II: machine-readable CycloneDX/SP…
NTIA Minimum Elements for an SBOM: 7-Point JSON Checklist
Exact JSON field mapping for all 7 NTIA Minimum Elements across CycloneDX and SPDX: Supplier, Component Name, Version, PURL/C…
Package URL (PURL) Guide for Accurate OSV.dev SBOM Scanning
How to format Package URLs (pkg:npm, pkg:deb, pkg:pypi, pkg:golang, pkg:cargo) in CycloneDX and SPDX so live OSV.dev vulnerab…