Back to home

    Comparison

    CycloneDX vs SPDX

    Compare SBOM fields, license information, VEX, AI models and crypto inventory in CycloneDX 1.7 and SPDX 2.3 / 3.0.1. Choose the format your recipients need, understand what conversion can lose, and see how sbom-tools reads and diffs both. Neither format alone establishes regulatory compliance.

    Which SBOM format should you choose?

    • 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.

    CycloneDX vs SPDX: field-by-field comparison

    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.

    CycloneDX 1.7 and SPDX 2.3 / 3.0.1 capabilities, with sbom-tools input coverage noted separately
    FeatureCycloneDXSPDX
    Versions compared1.72.3 and 3.0.1
    StewardshipOWASPLinux Foundation; SPDX 2.2.1 is ISO/IEC 5962:2021
    FocusSecurity and supply-chain transparencyLicense lineage, software, security, AI and data
    CLI input serializationsJSON / 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 representationFields available; completeness depends on generatorFields available; completeness depends on generator
    Vulnerability informationVulnerabilities and VEXSecurity profile in 3.0.1
    AI models and datasetsModel cards and ML-BOMAI and Dataset profiles in 3.0.1
    Crypto inventorycryptoProperties (1.6/1.7)No equivalent CBOM profile in the reviewed CLI
    License expressionsSPDX expressionsSPDX expressions
    Regulatory readinessNot certification; assess populated fieldsNot certification; assess populated fields

    VEX, AI and crypto: extensions and profiles

    • Vulnerability information: CycloneDX includes vulnerabilities and VEX; SPDX 3.0.1 has a Security profile. Compare the actual populated fields, not just the format name.
    • AI models and datasets: CycloneDX provides model cards and ML-BOM; SPDX 3.0.1 provides AI and Dataset profiles. These structures differ, which matters when converting.
    • Cryptographic inventory: CycloneDX 1.6/1.7 uses cryptoProperties. The reviewed sbom-tools CLI has no equivalent SPDX CBOM profile.

    These are standard capabilities, not a promise that every generator or CLI preserves every field. The input coverage below describes the reviewed sbom-tools release.

    Can you convert CycloneDX to SPDX, or SPDX to CycloneDX?

    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.

    1. Confirm the recipient's required version, serialization and fields before choosing a conversion target.
    2. Check common identifiers, versions, license expressions and relationships in the converted output.
    3. Review AI, security and crypto information separately; do not assume equivalent structures survive unchanged.
    4. Validate the result and keep the original alongside it. Format conversion is not legal certification.

    Read, diff and validate both formats with sbom-tools

    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.

    Compare a CycloneDX release with an SPDX release, then assess an SPDX document against the NTIA profile. These commands diff and validate existing files; they are not format-conversion commands.

    sbom-tools diff release-v1.cdx.json release-v2.spdx.json
    sbom-tools validate bom.spdx.json --standard ntia
    See all features

    Official specifications

    CycloneDX 1.7 JSON · CycloneDX 1.7 XML · SPDX 3.0.1

    Related

    What is an SBOM? A practical guide