CycloneDX VEX for Embedded Firmware with an Evidence Based Example
Write a scoped CycloneDX VEX decision for embedded firmware with explicit evidence, release identity and reassessment triggers.
By Cenitia
A VEX statement should explain whether a specific vulnerability affects a specific product configuration and what evidence supports that conclusion. It should not become a convenient way to hide scanner findings that the team has not investigated.
This tutorial uses CycloneDX VEX and a deliberately fictional issue, DEMO-VULN-001. It is not a CVE, a real advisory or a finding about any published library. Download the synthetic VEX document and use the triage record.
Start with identity and a question
Identify the firmware version and hash, the component identity and the vulnerability source. Confirm that the scanner's package match is meaningful. A shared library name is not enough to establish that the vulnerable implementation is present.
Then phrase the question you need to answer: “Does the affected parser exist and remain reachable in this released image under the supported and reasonably foreseeable configurations?” This is more useful than asking whether the severity score looks alarming.
Record the evidence you do not have. If the supplier cannot provide the relevant binary or build configuration, the uncertainty remains part of the decision.
Choose a state that matches the investigation
CycloneDX represents vulnerability analysis with states, explanations, justifications and affected component references. Check the exact vocabulary in the 1.7 schema, since similar terms across VEX formats are not always identical.
Use an investigation state while evidence is incomplete. An eventual “not affected” conclusion needs a supported reason and scope. “We have never seen an exploit” and “the device is usually behind a firewall” do not by themselves establish that vulnerable code cannot be exploited.
A fixed conclusion needs an identified corrected release and supporting validation. Do not mark the old installed population fixed merely because a patch has been merged into a development branch.
Follow the fictional example through its evidence gap
Our demo firmware contains a fictional demo-parser component. The synthetic issue concerns an optional decoding path. The example has no compiler output or actual firmware binary proving that the path is absent.
The VEX therefore records in_triage, with a detail explaining that a build configuration and binary review are still required. This is an intentionally unresolved example. It demonstrates an honest machine readable decision without inventing a reassuring “not affected” result.
| Investigation input | Status in the demo | What a real engineer would supply |
|---|---|---|
| Firmware identity | Fictional release 1.0.0 | Actual released image hash |
| Component match | Synthetic identity | Proven component provenance and version |
| Feature configuration | Assumed optional feature | Recorded effective build flags |
| Code presence | Unverified | Binary or build evidence reviewed by an engineer |
| Reachability | Unverified | Interface and configuration analysis, tests where appropriate |
Once real evidence exists, the responsible analyst can update the state, explanation and document version. Preserve the earlier record so a later reviewer can see how and why the conclusion changed.
Validate references as well as JSON
The VEX component reference must identify the intended component. Verify that all affected references resolve and that the product identity matches the triage record. A schema validator checks allowed fields and types; it does not establish the truth of your vulnerability analysis.
Our demonstration validates the synthetic document against the official schema and checks references. JSON Schema format checks are disabled in this demonstration. The result supports the example's structure only. It does not validate exploitability or the completeness of a real vulnerability review.
Give decisions an expiry condition
List events that reopen the assessment: a firmware rebuild, changed flags, a new hardware variant, a changed interface, new upstream evidence or a broader vulnerability description. An unsupported permanent suppression can outlive the assumptions that originally justified it.
Keep the reviewer, decision date, evidence references and distribution scope with the record. Decide what information can be disclosed publicly without exposing credentials, customer configurations or unnecessary exploit detail.
Keep regulatory reporting separate
A VEX state is not, by itself, a CRA reporting decision. Assess reporting triggers and available evidence through the incident response process; do not defer a required assessment merely because a JSON field remains in_triage.
The fictional issue and document must remain clearly labelled as demonstrations if no real case can be disclosed.
CRA applicability and timing
Most CRA product obligations apply from 11 December 2027; manufacturer Article 14 reporting applies from 11 September 2026. Check the product scope, role and specific transitional provisions before treating a future requirement as a current duty. See the Commission manufacturer guidance and reporting guidance.
Continue reading
Related guides
tutorial
CRA Cybersecurity Risk Assessment for an IoT Gateway
Create an IoT gateway risk register that connects product boundaries, abuse cases, security controls and verifiable release evidence.
4 min read
tutorial
Generate and Check an SPDX SBOM with Yocto
Prepare a version pinned Yocto SPDX workflow, capture build provenance and review package coverage before using an SBOM as evidence.
4 min read
tutorial
How to Validate an SBOM Beyond Passing the JSON Schema
Validate SBOM structure, identity, dependency links and release coverage with deliberately weak and improved CycloneDX fixtures.
4 min read
guide
CRA Support Period for Hardware and How to Document Your Decision
Document a defensible CRA support period using expected product use, dependencies and an explicit customer support end date.
4 min read
Put this into practice
Free tools & references
- CRA Readiness CheckerScore your product against the Cyber Resilience Act essential requirements.Open tool →
- EU Directive SelectorDescribe your product and find which EU directives and regulations apply.Open tool →
New to the terminology? Browse the compliance glossary — plain-English, citation-backed definitions of every term above.