Reachability analysis checks whether your software actually calls the flawed code inside a library.
This guide is for developers, testers and anyone new to fixing security findings. You do not need to read code to follow it. If a scanner has ever handed you a list of hundreds of "vulnerable" libraries, this page is for you.
In short
- Most apps are built from many outside libraries, and scanners flag every library with a known flaw.
- A flaw only matters to you if your code can reach the faulty function, or if the faulty part runs some other way.
- Reachability analysis follows the calls from your code to see which flaws are on a live path.
- It helps you fix the right things first, but "not reachable" is a strong hint, not a promise.
What you will learn
- Explain the difference between "we include a flawed library" and "we use the flawed code".
- Read a simple reachability finding and know what each part means.
- Spot the limits of the method, so you do not ignore a real risk.
- Use reachability as one input when you decide what to fix first.
- Library (dependency)
- ready-made code your app borrows instead of writing it again.
- Call path
- the chain of functions that leads from your code to a piece of library code.
- Scanner finding
- an alert that says a library you use has a known flaw.
What is reachability analysis?
Think of a big toolbox you bought second-hand. A recall notice says one screwdriver in it has a cracked handle. If you never take that screwdriver out, the crack cannot hurt you today.
Software works the same way. Your app pulls in libraries, and those libraries pull in more libraries. A scanner tells you when any of them has a known flaw. Reachability analysis then asks a sharper question: does your code ever call the flawed function?
The Go programming language team describes its own tool this way. It reports only the flaws that affect you, based on which of your functions call the vulnerable functions, directly or through other code [1]. The Go team calls this a low-noise way to find known flaws [1].
Where the comparison stops working: you can see which screwdriver you pick up. In software, some calls are hidden or decided only while the program runs, so a tool can miss them.
If libraries and their flaws are new to you, start with Open Source Risk and Software Composition Analysis for Beginners.
Why does it matter?
A long list of alerts is hard to act on. When every finding looks urgent, teams can stop reading them, and the dangerous ones get lost in the pile.
If you are a developer
What could happen: you spend a week updating libraries whose flawed parts your app never touches, while a reachable flaw waits.
Check this: ask whether your scanner can show a call path for each finding.
If you manage a team
What could happen: the team stops trusting the scanner because it cries wolf too often.
Check this: agree how reachable and unreachable findings are ranked and who signs off a skip.
If you sell or ship software
What could happen: customers ask whether a famous flaw affects your product and you cannot answer clearly.
Check this: record why a product is or is not affected, so you can tell customers.
Next: VEX for Beginners
What does it look like?
Here is a made-up result of the kind a reachability tool might print. It shows the parts worth reading.
Example only. All values are made up.
Finding: EXAMPLE-VULN-0000 in library fakeparse v1.2.0 (1) Flawed function: fakeparse.ReadHeader (2) Your code reaches it: YES (3) Path: main.Upload -> files.Check -> fakeparse.ReadHeader (4) Fixed in: fakeparse v1.2.1 (5)
- The flaw's ID and the library and version you use. In a real file, this line would contain a public advisory ID.
- The exact function the advisory says is faulty.
- The tool's verdict: your code can reach that function.
- The chain of calls from your code to the flaw. This is the evidence for the verdict.
- The first version with the fix, so you know what to update to.
Why this is risky: a "NO" on line 3 can tempt people to delete the finding. Tools can miss some paths.
The safer way: treat reachable findings first, then plan the update for unreachable ones too, and write down why each one waited.
How does it work?
- List what you use. The tool finds every library in your project, including the ones pulled in by other libraries.
- Match known flaws. It compares that list with public advisories. Some advisories name the exact faulty function.
- Map the calls. It follows the calls from your own code into each library. Go's tool uses static analysis, which means reading the code without running it [2].
- Show the path. Where a path exists, it shows a short call stack so you can check it yourself [2].
- Sort the list. Reachable findings go to the top. The rest still need an update plan.

The method has known blind spots. Go's tool cannot see calls made through a feature called reflection. A flaw reached only that way is not reported [2]. It also handles some indirect calls cautiously, which can produce false alarms [2].
Scanning a finished program without its source gives less detail. In that mode Go's tool cannot show call paths, and it may flag code that is present but never used [2].
The result can be shared. The OpenVEX format has a label meaning the flawed code is included but is not in the path the product runs [3]. A "not affected" statement in that format must give a reason or an explanation [3].
A worked example
This story is made up to show the idea.
Imani Yilmaz leads a small team that builds a booking app. Their scanner reports 140 findings in outside libraries. The team has one sprint to deal with them.
Imani turns on the reachability feature in their scanner. It finds call paths for only a handful of the findings. One of them is in a library that reads uploaded files, and the path starts at the app's upload page.
That one goes first. A developer updates the library to the fixed version, runs the tests and ships the change the same week.
Bodhi Vance, the team's security contact, asks about the rest. Imani does not delete them. She adds them to the normal update plan. Next to each one, she notes why it waited and when it is due.
Two weeks later, a new feature starts using a function from one of those libraries. The next scan marks that finding as reachable. Because it was still on the list, the team sees the change at once and moves it up.
Imani learned that reachability is a way to choose the order of work. It is not a reason to stop tracking a flaw.
Myths and mistakes
| What people think | What is true |
|---|---|
| Not reachable means always safe. | It means no path was found today. New code can create a path, and tools can miss hidden calls[2]. |
| Reachability replaces patching. | It sets the order of work. Unreachable flaws still need an update plan. |
| Every tool checks reachability the same way. | Depth varies by tool and language. Source scans can show call paths, while scans of finished programs may not[2]. |
| A reachable flaw is always being attacked. | Reachable means it can be hit. How likely an attack is needs other clues, such as an exploit forecast[4]. |
| Only my direct libraries matter. | Libraries pull in other libraries, and a path can run through any of them. |
What can I do this week?
- See if your scanner can show call paths. Turn it on for one project.
- Pick the top three reachable findings. Read their call paths with a developer.
- Write down who reviews unreachable findings, and when they get fixed.
- Read SBOMs for Beginners to see how teams list every library they use.
Checklist
- I can explain the difference between including a flawed library and calling the flawed code.
- I know reachable findings should be fixed first.
- I keep unreachable findings on an update plan instead of deleting them.
- I record the reason when a finding waits.
- I re-scan after code changes, because new code can create new paths.
- I know tools can miss some hidden calls.
- I use reachability alongside other signals, such as known attacks and exploit forecasts.
Common questions
Is reachability analysis the same as software composition analysis?
No. Software composition analysis lists the libraries you use and their known flaws. Reachability analysis adds a second step that checks whether your code calls the faulty part. Many scanning tools now offer both, but they answer different questions.
Can I ignore a finding the tool says is not reachable?
You can lower its priority, but do not forget it. Tools can miss calls made in hidden ways, and new code can create a path later. Keep it on your update plan and record why it waited.
Does reachability tell me if attackers are using a flaw?
No. It only says whether your code can reach the flaw. To judge how likely an attack is, teams also look at other signals. One example is EPSS, which estimates the chance that a published flaw will be exploited in the next 30 days[4].
Where next?
Ready for the detail? Read the practitioner guide: Reachability Analysis Guide. It covers how tools build call graphs, how to set triage rules and how to record decisions.
Also useful:
- Open Source Risk and Software Composition Analysis for Beginners
- Vulnerability Management for Beginners
- VEX for Beginners
- CVE and CVSS for Beginners
Related NHI Mgmt Group resources: Vulnerability Prioritisation Guide, Software Composition Analysis (SCA) Guide and VEX Guide.
Key terms
- Reachability analysis
- Checking whether your code can actually call the vulnerable function inside a library.
- Call graph
- A map of which functions call which other functions in a program.
- Transitive dependency
- A library your app uses indirectly, because another library you use depends on it.
- Software composition analysis
- Tools and checks that list the outside libraries in your software and their known flaws.
- False positive
- An alert about a problem that is not really there.
- VEX
- A short statement from a software maker saying whether a product is affected by a known flaw, and why.
Sources and further reading
- The Go Authors, "Go Vulnerability Management", go.dev. https://go.dev/doc/security/vuln/ (accessed 1 Dec 2026).
- The Go Authors, "govulncheck command documentation", pkg.go.dev. https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck (accessed 1 Dec 2026).
- OpenVEX, "OpenVEX Specification", GitHub. https://github.com/openvex/spec/blob/main/OPENVEX-SPEC.md (accessed 1 Dec 2026).
- FIRST, "Exploit Prediction Scoring System (EPSS)". https://www.first.org/epss/ (accessed 1 Dec 2026).