A CycloneDX VEX statement answers the question a raw vulnerability scan cannot: not "does this component contain CVE-2024-XXXXX," but "does this product, as shipped, actually expose that vulnerability." CycloneDX's own capability page describes VEX as conveying "the exploitability of vulnerable components in the context of the product in which they're used," using a structured analysis object with a fixed set of state, justification and response values that scanners such as Trivy and platforms such as Dependency-Track already read to decide whether to keep flagging a given CVE for a given product.
Key takeaways
- Every vulnerability entry in a CycloneDX document can carry an analysis object with up to three fields.
- A standalone VEX file is an ordinary CycloneDX document whose only payload is a vulnerabilities array; each entry points at a component in a separately published SBOM.
- Both are valid. Embedded VEX is a vulnerabilities array inside the same CycloneDX document that also lists the product's components — convenient when one team produces both together.
- A BOM-Link is a URN built from three values that already exist in the SBOM: urn:cdx:serialNumber/version#bom-ref.
What does a CycloneDX VEX analysis block actually contain?
Every vulnerability entry in a CycloneDX document can carry an analysis object with up to three fields. state records the current assessment: resolved, resolved_with_pedigree, exploitable, in_triage, false_positive, or not_affected. justification should be given whenever state is not_affected (the schema says it "should be specified for all not_affected cases"), and must be one of nine specific reasons — code_not_present, code_not_reachable, requires_configuration, requires_dependency, requires_environment, protected_by_compiler, protected_at_runtime, protected_at_perimeter, or protected_by_mitigating_control. response is a separate array recording vendor action: can_not_fix, rollback, update, will_not_fix, or workaround_available. A typical "we checked, it doesn't apply" statement looks like {"state": "not_affected", "justification": "code_not_reachable"} — a specific, falsifiable claim, not a generic risk label.
What does a complete standalone CycloneDX VEX file look like?
A standalone VEX file is an ordinary CycloneDX document whose only payload is a vulnerabilities array; each entry points at a component in a separately published SBOM. The example below is synthetic: the CVE ID is a placeholder, the SBOM serial number is the example UUID from the CycloneDX 1.6 JSON schema, and the library and firmware are made up. It records an engineer's conclusion that a bundled library's vulnerable function is never invoked in one gateway firmware build:
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:5b3e9a1c-2f4d-4c8e-9a7b-1d2e3f4a5b6c",
"version": 1,
"metadata": { "timestamp": "2026-11-10T09:00:00Z" },
"vulnerabilities": [
{
"id": "CVE-2023-12345",
"source": { "name": "NVD" },
"analysis": {
"state": "not_affected",
"justification": "code_not_reachable",
"detail": "The affected parser is only called by the remote-config service, which is not compiled into gateway firmware 4.2.1. Checked by symbol review of the release image.",
"firstIssued": "2026-11-03T10:00:00Z",
"lastUpdated": "2026-11-10T09:00:00Z"
},
"affects": [
{
"ref": "urn:cdx:3e671687-395b-41f5-a30f-a58921a69b79/1#pkg:generic/[email protected]",
"versions": [{ "version": "2.4.0", "status": "unaffected" }]
}
]
}
]
}
The fields a VEX consumer reads, with the wording of the CycloneDX 1.6 JSON reference:
| Field | What the 1.6 schema says |
|---|---|
id |
"The identifier that uniquely identifies the vulnerability", for example a CVE or GHSA ID |
analysis.state |
The state "after automated or manual analysis" (six values) |
analysis.justification |
"Should be specified for all not_affected cases" (nine values) |
analysis.response |
"Strongly encouraged for vulnerabilities where the analysis state is exploitable" |
analysis.detail |
If not exploitable, "should include specific details on why the component or service is not impacted" |
analysis.firstIssued / lastUpdated |
Date-time stamps for the first and the latest version of the analysis |
affects[].ref |
The only required key of an affects entry: a bom-ref or a BOM-Link |
affects[].versions[].status |
affected, unaffected or unknown; defaults to affected |
recommendation / workaround |
Free text on remediation and on temporary bypasses |
Where did this come from, and has it changed?
VEX support shipped in CycloneDX v1.4, released January 2022 — the version CycloneDX's own history page credits as "the first specification to introduce vulnerability sharing and transparency, including Vulnerability Disclosure Reports (VDR) and Vulnerability Exploitability eXchange (VEX)." That release also introduced the bom-link reference type, which is what lets a VEX document point at components defined in a separate SBOM file rather than repeating them. Versions 1.5 and 1.6 broadened the surrounding vulnerabilities data model and added unrelated capabilities (CBOM for cryptographic assets, CDXA for attestations), but the analysis object's enum values covered above have been stable since 1.4 — a VEX statement written for a 1.4 SBOM reads the same way against a 1.6 one. The CycloneDX history page lists v1.7 (October 2025) as the latest release; its bom-1.7 schema keeps the same six states and nine justifications. VDR, the sibling capability that lists known vulnerabilities without an exploitability verdict, is covered in our CycloneDX VDR guide.
Does VEX have to be embedded in the SBOM, or can it be separate?
Both are valid. Embedded VEX is a vulnerabilities array inside the same CycloneDX document that also lists the product's components — convenient when one team produces both together. Standalone VEX is a second CycloneDX document containing only the vulnerabilities array, with each entry's affects field pointing at a component defined in a separately published BOM via a bom-link URN. Standalone VEX is the better fit when a PSIRT publishes updated exploitability assessments on its own cadence, independent of when a new SBOM is generated from a build. CISA's own guidance on VEX implementations lists CycloneDX as one of four formats in current use — alongside the CSAF 2.0 VEX profile, OpenVEX and SPDX 3.0 — without mandating any one of them; see our CSAF 2.0 and VEX guide and CycloneDX vs SPDX guide for how the four compare.
How does a BOM-Link tie a VEX file to a firmware SBOM?
A BOM-Link is a URN built from three values that already exist in the SBOM: urn:cdx:serialNumber/version#bom-ref. The schema's bomLinkElementType pattern enforces that shape, and Trivy's VEX file documentation walks through the same syntax. For a firmware release:
Read the SBOM headerTake serialNumber(for exampleurn:uuid:3e671687-…) and the integerversionfrom the SBOM you published for that image.Swap the prefixThe serial number starts with urn:uuid:, but the BOM-Link starts withurn:cdx:. Trivy's documentation calls out this difference explicitly.Append the version /1targets version 1 of that SBOM. A regenerated SBOM with a new version or serial number needs new links.Append the componentAfter #, use the exactbom-refof the affected component, as written in the SBOM.Check it resolvesEvery link should match a component that exists in that exact SBOM version before the VEX file ships.
Our firmware SBOM guide covers producing the SBOM side of that pair.
Which justification fits which firmware finding?
The schema defines each justification in one line. The evidence column below is SoftWSP's guidance on what a firmware team should keep on file before using the label; the last column is the closest of the five CISA justification labels, as mapped in the SoftWSP VEX generator by comparing the two standards' definitions (it is not an official crosswalk).
| Justification | Meaning in the 1.6 schema | Evidence to keep for a firmware image | Closest CISA / CSAF label |
|---|---|---|---|
code_not_present |
"The code has been removed or tree-shaked" | Build configuration and a symbol check of the shipped binary | vulnerable_code_not_present |
code_not_reachable |
"The vulnerable code is not invoked at runtime" | Call-path review by an engineer, with the build options that disable the caller | vulnerable_code_not_in_execute_path |
requires_configuration |
"Exploitability requires a configurable option to be set/unset" | The shipped default, and whether the customer can change it | vulnerable_code_cannot_be_controlled_by_adversary |
requires_dependency |
"Exploitability requires a dependency that is not present" | SBOM showing the dependency is absent from the image | vulnerable_code_cannot_be_controlled_by_adversary |
requires_environment |
"Exploitability requires a certain environment which is not present" | Description of the target OS / hardware the image runs on | vulnerable_code_cannot_be_controlled_by_adversary |
protected_by_compiler |
"Exploitability requires a compiler flag to be set/unset" | Compiler flags from the release build log | inline_mitigations_already_exist |
protected_at_runtime |
"Exploits are prevented at runtime" | The runtime control and a test against public exploit code | inline_mitigations_already_exist |
protected_at_perimeter |
"Attacks are blocked at physical, logical, or network perimeter" | Which perimeter, and who operates it | inline_mitigations_already_exist |
protected_by_mitigating_control |
"Preventative measures have been implemented that reduce the likelihood and/or impact" | The control and how it was verified | inline_mitigations_already_exist |
Source: CycloneDX 1.6 JSON schema, impactAnalysisJustification; closest-label mapping as used by the SoftWSP VEX generator.
Settings the customer controls.
requires_configurationandprotected_at_perimeterrest on conditions the device maker may not control after shipping. If a customer can switch the option on or remove the perimeter, say so indetail, or treat the finding asexploitablewith aworkaround_availableresponse that names the setting to keep.
How do CycloneDX states map to CISA, CSAF and OpenVEX statuses?
CISA, CSAF 2.0 and OpenVEX use four statuses; CycloneDX uses six states. When a customer asks for the same statement in another format, the SoftWSP VEX generator uses the closest-match mapping below. The CycloneDX definitions are quoted from the schema:
CycloneDX state |
Schema definition | CISA / OpenVEX status | CSAF product_status |
|---|---|---|---|
not_affected |
"The component or service is not affected by the vulnerability" | not_affected |
known_not_affected |
exploitable |
"The vulnerability may be directly or indirectly exploitable" | affected |
known_affected |
resolved |
"The vulnerability has been remediated" | fixed |
fixed |
in_triage |
"The vulnerability is being investigated" | under_investigation |
under_investigation |
resolved_with_pedigree |
Remediated, with commit history or diffs in the component's pedigree | No separate status; closest is fixed |
— |
false_positive |
"Falsely identified or associated" | No one-to-one status | — |
For false_positive, decide case by case and explain in the target format's free-text field why the match was wrong.
How should a CycloneDX VEX statement change over time?
A statement is not written once. The schema gives two clocks: the analysis timestamps and the document's own version, which "SHOULD be incremented by 1" whenever an existing BOM is modified, with consumers told to use the most recent version when serial numbers match. A typical sequence for one CVE on one firmware release:
MatchA scan matches the CVE to a component. The PSIRT publishes in_triageand setsfirstIssued.DecideAn engineer reviews the evidence and sets not_affectedwith a justification anddetail, orexploitablewith aresponsesuch asupdateorworkaround_availableand arecommendation.FixWhen a patched release ships, the entry for the patched version moves to resolved, andaffects[].versionslists which versions areaffectedandunaffected.RepublishEach change updates lastUpdated, keepsfirstIssued, and increments the VEX document'sversionunder the sameserialNumber.
Do tools actually act on these fields, or is it just documentation?
Yes — the enum values are consumed programmatically, not just displayed. Trivy's own documentation describes VEX as a way to "filter detected vulnerabilities," supporting VEX supplied as a local file, an OCI registry attestation, a remote VEX repository, or a reference embedded in the SBOM itself; a component whose CycloneDX VEX entry carries not_affected with a valid justification is excluded from Trivy's reported findings rather than merely annotated. Dependency-Track, the most widely deployed open-source SBOM analysis platform, similarly ingests analysis.state to re-triage findings automatically rather than requiring a human to re-review every CVE on every rebuild. That is the practical payoff of a structured enum over free-text notes: a scanner can act on not_affected + code_not_reachable without a human reading a sentence first.
SoftWSP's platform extracts an SBOM from the firmware binary, writes it as a CycloneDX 1.6 document, and matches its components against NVD, CISA KEV, FIRST EPSS and vendor CSAF advisories. It does not write VEX statements and does not analyse reachability or exploitability: the matched list is the input an engineer triages. Once the engineer has chosen a state and justification, the free VEX generator writes that statement as CycloneDX 1.5 VEX and CSAF 2.0 VEX in the browser. See PSIRT as a service for how that fits into an ongoing vulnerability-response process.
Why does a scanner ignore a CycloneDX VEX file?
Most rejected or silently ignored VEX files fail on linkage, not on the verdict. Common causes, checked against the schema and Trivy's documentation:
- Embedded VEX where the tool expects a separate file. Trivy "only supports the Independent BOM and VEX BOM format" for CycloneDX VEX, and applies CycloneDX VEX to SBOM scans only; OpenVEX works across all its targets.
urn:uuid:left in the BOM-Link. The link must start withurn:cdx:.- Stale links. The VEX still points at version 1 of an SBOM that has been regenerated, or at a
bom-refthat no longer exists. not_affectedwith nothing behind it. Nojustificationand nodetail, so a reviewer cannot test the claim.false_positiveused to meannot_affected. The first says the match itself was wrong; the second says the component is present but not affected.- No
versionbump. Two documents with the same serial number and version but different content leave consumers guessing which is current.
Does AI set the VEX analysis state?
No — SoftWSP never sets analysis.state, and no SoftWSP output is a not_affected verdict. Deciding that a matched CVE does not apply (for example, that the vulnerable code path is never reached in this build configuration) needs evidence a human has to weigh, so the engineer always makes that call; SoftWSP does not perform reachability or exploitability analysis. The AI step is narrower: it drafts the analysis report from the scan's own findings, and every claim in the draft must cite its evidence (the component, the CVE record, the KEV or EPSS entry) before the report is accepted. The underlying CVE/KEV/EPSS matching that identifies candidate vulnerabilities runs the same whether or not AI drafting is turned on. The VEX statement and its detail text come from the engineer's own analysis.
This guide is based on CycloneDX's own capability and history pages, the CycloneDX 1.6 JSON schema and JSON reference, the CycloneDX Python library's published enum definitions (which mirror the JSON/XML schema), CISA's Minimum Requirements for VEX document, and Trivy's published VEX documentation, all read directly for this guide (schema and Trivy pages re-checked 2026-11-10). Verify against the current CycloneDX JSON schema at github.com/CycloneDX/specification before relying on a specific field name in tooling you build.
Put this guide to work
Frequently asked questions
What is CycloneDX VEX?
VEX (Vulnerability Exploitability eXchange) is a built-in capability of the CycloneDX Bill of Materials standard that, per CycloneDX's own capability page, 'conveys the exploitability of vulnerable components in the context of the product in which they're used.' Instead of a scanner simply listing every CVE that matches a component's version string, a CycloneDX VEX statement lets a vendor assert, per component and per vulnerability, whether that vulnerability is actually reachable and exploitable in the product as shipped.
When did CycloneDX add VEX, and did the schema change since?
VEX arrived in CycloneDX v1.4, released in January 2022 — CycloneDX's own history page describes it as 'the first specification to introduce vulnerability sharing and transparency, including Vulnerability Disclosure Reports (VDR) and Vulnerability Exploitability eXchange (VEX).' Later versions (1.5, 1.6) expanded the vulnerabilities/analysis data model and the wider BOM capability set (CBOM for cryptographic assets, CDXA for attestations), but the core VEX analysis object's enum values described in this guide have not changed since 1.4.
What values can the analysis.state field actually take?
Per the CycloneDX schema (confirmed against the CycloneDX Python library's own enum definitions, which mirror the JSON/XML schema 1:1): resolved, resolved_with_pedigree, exploitable, in_triage, false_positive, and not_affected. A VEX consumer such as a scanner is expected to treat not_affected, false_positive and resolved as reasons to stop flagging a given CVE for that specific product, and in_triage / exploitable as reasons to keep flagging it.
What is the justification field for, and what are its allowed values?
When analysis.state is not_affected, CycloneDX requires a justification explaining why. The allowed values are: code_not_present, code_not_reachable, requires_configuration, requires_dependency, requires_environment, protected_by_compiler, protected_at_runtime, protected_at_perimeter, and protected_by_mitigating_control. A separate response array (can_not_fix, rollback, update, will_not_fix, workaround_available) records what the vendor is doing about vulnerabilities that are not dismissed as not_affected.
Does a VEX statement have to live inside the same file as the SBOM?
No. CycloneDX supports both embedded VEX (a vulnerabilities array inside the same BOM document that also lists components) and standalone VEX (a separate CycloneDX document containing only vulnerabilities and analysis, referencing an external BOM's components via the bom-link mechanism introduced alongside 1.4's VEX support). CISA's own VEX guidance lists CycloneDX as one of four VEX implementations in active use, alongside the CSAF 2.0 VEX profile, OpenVEX and SPDX 3.0 — see our [CSAF 2.0 and VEX guide](/guides/csaf-vex-for-device-makers/) for how the CSAF profile compares.
Sources
- CycloneDX: Vulnerability Exploitability (VEX) capability page
- CycloneDX: Specification version history
- CycloneDX Python Library documentation: cyclonedx.model.impact_analysis (ImpactAnalysisState, ImpactAnalysisJustification, ImpactAnalysisResponse enums)
- CISA: Minimum Requirements for Vulnerability Exploitability eXchange (VEX)
- Trivy documentation: VEX (Vulnerability Exploitability eXchange) support
- CycloneDX 1.6 JSON reference (vulnerabilities, analysis, affects)
- CycloneDX specification repository: bom-1.6.schema.json (impactAnalysisState, impactAnalysisJustification, affectedStatus, bomLinkElementType, BOM version)
- Trivy documentation: Local VEX Files (CycloneDX independent BOM and VEX BOM, BOM-Link syntax)
About this guide
SoftWSP Firmware Security Desk
Covers the SBOM cluster: 31 guides.

In this cluster
Questions about this page?
