Cyberwiz is now Cybreeze.

19 October 20266 min read

VEX and CSAF — how to say "not affected" so a machine believes you

An SBOM makes you look vulnerable to everything your components are vulnerable to. VEX is the document that narrows it. The five justifications, the formats, and why this is the artefact that makes CRA vulnerability handling survivable.

Michael Parkadze · Software Engineer

On this page
  1. The four statuses
  2. The five justifications for "not affected"
  3. The formats
  4. Why this is a CRA artefact, not a nice-to-have
  5. The failure modes
  6. Starting small

Publishing an SBOM creates a problem: anyone can resolve your component list against a vulnerability feed and conclude your product has hundreds of vulnerabilities. Most of those conclusions will be wrong, because a vulnerable component is not the same as a vulnerable product.

VEX — Vulnerability Exploitability eXchange — is the machine-readable statement of what a known vulnerability means for your product. Four statuses: not affected, affected, fixed, under investigation. And for not affected, a small set of defined justifications, so the claim is checkable rather than asserted.

Under the CRA this stops being a nice practice. Annex I Part I point 2(a) requires products to be placed on the market without known exploitable vulnerabilities — and "exploitable" is the word VEX exists to adjudicate.

The four statuses

StatusMeaning
Not affectedThe vulnerability exists in a component but the product is not exploitable through it
AffectedThe product is affected; remediation or mitigation is described
FixedThe product version named has the fix
Under investigationYou are looking, and have not concluded

"Under investigation" is more useful than it looks. It is an honest, machine-readable answer to a customer question at hour two of an incident, and it is far better than silence. It also sets an expectation that you will update it, which is a commitment worth making deliberately.

The five justifications for "not affected"

This is the part that makes VEX credible. You cannot simply declare non-affectedness; you pick from defined justifications:

component_not_present — the component is not in this product at all. Common where a vulnerability is reported against a package family and your product uses a different member of it.

vulnerable_code_not_present — the component is there, but the vulnerable code is not. Typical for a library you compile with a subset of modules, or a vendored copy that predates the vulnerable function.

vulnerable_code_not_in_execute_path — the vulnerable code is present but cannot be reached in this product's use. The classic case is a library whose server-side parser is vulnerable in a product that only uses its client-side encoder.

vulnerable_code_cannot_be_controlled_by_adversary — the code is reachable but the input is not attacker-controlled. A parser that only ever receives data your own build produced.

inline_mitigations_already_exist — the product already contains a compensating control that prevents exploitation. The weakest of the five, and the one most likely to be challenged, so it needs the most explanation.

Two observations from using these. The middle three require you to understand your dependency graph and your own code paths, which is why relationship data in the SBOM matters more than people expect. And inline_mitigations_already_exist is where overclaiming happens — if the mitigation is "we do not expose that port by default", that is a configuration, and a configuration the user can change is not an inline mitigation.

The formats

Three live options, and they are not competitors in the way format wars usually are.

CSAF 2.0 — an OASIS standard for machine-readable security advisories, with a VEX profile. It is the heavyweight option: it does full advisories, not only VEX, and it is what you want if you are publishing security advisories as a programme. Required reading if you are already a CNA or plan to be.

CycloneDX VEX — part of the CycloneDX ecosystem, so it shares identifiers, tooling and serial numbers with your SBOM. The lowest-friction choice if your SBOM is CycloneDX.

OpenVEX — a minimal, standalone specification. Small documents, easy to generate, easy to consume. A good starting point if you want VEX before you want an advisory programme.

What I would do: CycloneDX VEX if your SBOM is CycloneDX, because the integration is the point. CSAF when you start publishing advisories properly, which the CRA's Annex I Part II point 4 effectively requires once a fix is available. These coexist — CSAF for the human-and-machine advisory, CycloneDX VEX for the per-release exploitability statement.

Why this is a CRA artefact, not a nice-to-have

Three of the twenty-one Annex I requirements lean on it directly.

Part I (a), no known exploitable vulnerabilities. At release you will have known vulnerabilities in your component set. The question is whether any of them is exploitable in your product. VEX is how you record that determination, with a justification, at the time you made it — which is the difference between a defensible release decision and a retroactive explanation.

Part II (2), remediate without delay. Triage at scale is impossible without a way to record "assessed, not affected, here is why" that persists and is machine-readable. Otherwise every re-scan re-raises the same findings and the real ones drown.

Part II (4), publicly disclose fixed vulnerabilities. The disclosure obligation is about fixed vulnerabilities, and a fixed VEX statement naming the versions is the machine-readable half of that.

There is also a downstream reason that will become commercial pressure. Your customers have their own CRA obligations under Part II point 1, so they must document vulnerabilities in components — including yours. A vendor who publishes VEX reduces their customers' work substantially, and customers notice.

The failure modes

A VEX document with no SBOM to anchor it. VEX statements reference components and product versions. Without an inventory they are floating assertions.

Statements with no date or author. A "not affected" from eighteen months ago, about a product that has had four releases since, is not a current statement. Every assertion needs a timestamp and the version range it applies to, and consumers should treat an undated one as absent.

One global VEX for the product. Exploitability is per version. A statement that does not bound its version range will be wrong as soon as you ship.

Generated non-affectedness. Some tooling will produce vulnerable_code_not_in_execute_path from static reachability analysis. That is a genuinely useful input and it is not a conclusion. Reachability analysis on dynamically dispatched code is approximate, and a justification you did not verify is a claim you cannot defend. Use it to rank what a human looks at.

Treating it as a document rather than data. The point of VEX is that a machine reads it. If it lives in a PDF advisory and a wiki page, it has the form without the function.

Starting small

This can be begun in a week and the first version is genuinely useful.

  1. Pick the format that matches your SBOM. CycloneDX VEX if CycloneDX.
  2. Run your current release's SBOM against a vulnerability feed and take the findings list. OSV, KEV and EPSS covers how to order it.
  3. Triage the top of the list and write a VEX statement for each decision — including the not-affected ones, with a justification from the five.
  4. Store it with the release, beside the SBOM, under the version it describes.
  5. Re-run the feed on a schedule and only triage what is new. The existing VEX statements suppress the noise, which is the compounding benefit: the first pass is expensive and every subsequent one is cheap.

Step 5 is the whole economic argument. Without VEX, every scan costs the same as the first. With it, you pay once per vulnerability per product and the recurring cost tends toward the rate at which new vulnerabilities appear in your actual components.

References: the CSAF 2.0 specification from OASIS, the CycloneDX specification, and the OpenVEX specification — all freely available. CISA's VEX working group publications are the source for the status values and justifications and are worth reading directly. The CRA requirements referenced are in Annex I of Regulation (EU) 2024/2847.

Filed underProduct security