How to Verify a Vendor Actually Patched a CVE in a Binary They Shipped

Binary composition analysis lets you check whether a vendor's claimed CVE fix is present in the binary they shipped to you - without source code access; KhaiCode performs this validation by inspecting the compiled binary, mapping its embedded components to known CVEs and KEVs, and running exploit-based verification to confirm whether a vulnerability is actually reachable in that build.

You filed the ticket. The vendor replied. The advisory says "patched in v3.2.1." You updated the firmware or the package. Done?

Not quite.

The gap between "we patched it" and "that patch is in what you're running" is real, and it shows up in a specific category of supply-chain incident: a vendor closes a CVE in their source tree, cuts a release, but the compiled artifact you receive still contains the vulnerable component - because the build process pulled a cached dependency, the patch wasn't backported into the embedded third-party library, or the release notes were simply wrong.

The only way to close that gap is to look at the binary itself.


Why "Trust the Advisory" Is Not a Control

Vendor advisories describe intent. What you're running is a compiled artifact - firmware, a container image, a library bundle, an installer. The relationship between the advisory and that artifact depends entirely on whether the build process correctly incorporated the fix.

For software you build yourself, you can trace that chain. For software a vendor builds and ships to you - especially in OT, IoT, medical devices, or embedded systems where you have no access to the build pipeline - you cannot.

This creates a verification problem that is not solvable by reading release notes, checking version numbers, or trusting CVSSv3 scores. It requires inspecting what was actually compiled and shipped.


What Binary Composition Analysis Actually Does Here

Binary composition analysis (BCA) works by decomposing a compiled binary into its constituent components - libraries, open-source dependencies, embedded firmware blobs - without requiring source code. The output is a component inventory that can be mapped against CVE and KEV databases.

That inventory answers two questions:

  1. Is the vulnerable component (the specific library version tied to the CVE) still present in this binary?
  2. If it is present, is the vulnerability actually exploitable in this build, given how the component is used?

The second question matters because a component can be present but the vulnerable code path may not be reachable in that particular binary. Conversely, a component can appear to be a patched version but still contain the vulnerability if the vendor applied an incomplete fix.

KhaiCode addresses both. It inspects binaries across software, firmware, and containers - IT and OT - with no source code required, identifies embedded components, maps them to known CVEs and KEVs, and applies exploit-based binary analysis to assess whether a vulnerability is actually reachable in that specific build. The result is not just a list of components; it is a determination of exploitability in the artifact you have in hand.


The Practical Workflow: Before and After a Vendor Patch

A repeatable verification process looks like this:

Before the patch:

After the vendor ships the "patched" version:

If the diff shows the vulnerable component is still present, you have documented evidence to send back to the vendor - not "our scanner still flags it" but "the component is still embedded in this binary and exploit validation confirms the path is live."

That is a qualitatively different conversation with a vendor than a CVSS score and a checkbox.


Where This Matters Most

The verification gap is most acute in environments where:

KhaiCode supports multi-architecture and multi-platform emulation for edge devices, mobile systems, IIoT/IoT sensors, and embedded devices - analysis in the same environment where the vulnerability would be exploited, not in an abstract static context.


What to Do With the Results

A KhaiCode-generated SBOM in SPDX or CycloneDX format is a standard artifact you can feed into existing vulnerability management workflows, store as an audit record, or use as the basis for a vendor conversation.

If the patch is confirmed: document the SBOM, close the finding with evidence.

If the patch is not confirmed: escalate to the vendor with the binary-level evidence. You are no longer debating the advisory - you are showing them the artifact.

If you need to run continuously across a fleet of binaries or containers as new vendor releases come in, that is a workflow question for your team - but the per-binary analysis is the foundation of any answer.


Vendor advisories are a starting point, not a finish line. The binary is the ground truth.

If you want to see KhaiCode run against a binary in your environment, request a demo at khaicode.com.

This post is about KhaiCode.