Bundled Dependencies: The Vulnerable Copy Your Package Manager Can't See
A critical library flaw drops. Your team updates the operating system package, the scanner turns green and the ticket closes. A week later, a service is still running the vulnerable code, because it never used the system library in the first place. It shipped with its own copy.
That is the problem of bundled dependencies: libraries that are vendored into a project, statically linked into a binary, packed inside a runtime, an Electron app, a fat JAR or a container image. They are everywhere, and they are the reason "we patched it" and "we are no longer vulnerable" are not the same sentence.
This guide explains where bundled copies hide, why package managers and some scanners miss them, and how to build a process that finds and fixes them.
The October 2026 Brotli flaw is a textbook case
CVE-2026-111497 is an out-of-bounds write in Google's Brotli decoder, fixed upstream in Brotli 1.0.10, 1.1.1 and 1.2.1 on October 21, 2026. The affected software list shows how far one library travels:
- Node.js describes the issue as "a flaw in the Brotli decoder bundled with Node.js". The fix came in new Node.js releases (22.23.4, 24.22.1 and 26.12.1), not in a system library.
- .NET shipped out-of-band updates on October 25. Microsoft's own guidance is blunt: installing a newer runtime on the host does not update the runtime bundled with your application, and self-contained applications and container deployments must be checked separately.
- Python, Ruby, Bun, Envoy and Istio each needed their own release, because each one ships or builds its own decoder.
Sysdig added two operational traps. Some Linux distributions build Node.js against the system Brotli, so the Node.js version number alone does not tell you whether an instance is patched. And a floating image tag such as node:24 can stay on the old version if you rebuild from a cached image.
It is not new: libwebp and Log4Shell
libwebp, 2023
In September 2023, Google fixed CVE-2023-4863, a heap buffer overflow in WebP, and said an exploit existed in the wild. The CVE was first described as a Chrome bug, but the flaw lived in libwebp, a library bundled in many other products. Mozilla shipped its own fixes for Firefox and Thunderbird, and Electron released patched versions across several branches. Every Electron-based application then had to ship its own update on top of that. One library, one bug, dozens of separate patch cycles.
Log4Shell, 2021
Google's Open Source Insights team found that more than 17,000 packages on Maven Central, roughly 4% of the ecosystem, were affected by the log4j-core vulnerability, and that for more than 80% of them the vulnerable code sat more than one level deep in the dependency tree. The US Cyber Safety Review Board later wrote that Log4j "is routinely embedded" in other software components and that responders often could not identify where the vulnerable code was in their systems.
Where bundled copies hide
- Language runtimes such as Node.js, Python builds, .NET self-contained apps and Java distributions that carry their own native libraries.
- Desktop apps built on Electron, which ship a full copy of Chromium and its libraries.
- Statically linked binaries. Go embeds information about the modules used to build a binary, which is useful, but the code itself travels inside the executable.
- Fat or shaded JARs that repackage dependencies inside the application archive.
- Container images, where the base layer, the runtime and the application dependencies are frozen at build time.
- Appliances and vendor software, where you cannot see inside at all and depend on the vendor's advisory.
Why your tools miss them
Package managers only know what they installed. An OS-level update fixes the shared library and every program that links to it dynamically. It does nothing for a program that carries its own copy.
Manifest-based scanning has a similar blind spot. The SBOM types published by CISA distinguish between Source, Build, Analyzed, Deployed and Runtime SBOMs, and note that a Source SBOM may not include runtime, plugin or dynamic components. A Build SBOM, generated as part of the build, gives more confidence that it represents the real artifact. An Analyzed SBOM, produced by inspecting executables, packages or containers, gives visibility when there is no development environment, but may contain omissions or approximations. If you only scan manifests in repositories, you see what the developer declared, not what you shipped. Our SBOM guide covers the formats in detail.
A process that finds and fixes bundled copies
1. Inventory the artifact, not just the repository
Generate SBOMs at build time and scan what actually runs: container images, binaries and installed software. For Go, the govulncheck tool can analyze a compiled binary with its binary mode. For containers, scan the image you deploy, not the Dockerfile.
2. Ask "who ships their own copy?" on day one
When a library CVE drops, the first question is not "which hosts have the package" but "which products bundle it". Check vendor advisories and public trackers, search your SBOMs by component name, and list the runtimes and apps that need their own update.
3. Rebuild, redeploy and restart
For bundled code, the fix is a new build. Update the base image, avoid stale cached layers, rebuild self-contained applications and redeploy. Then restart: a running process keeps the old code in memory until it restarts.
4. Verify in the running environment
Confirm the version from inside the running container or process, for example with node --version, rather than trusting the image tag or the host package. Closing a ticket on deployment rather than on verification is how bundled copies survive. Our patch management guide explains why verification is a separate step.
5. Put vendors on the hook
For appliances and commercial software, you cannot rebuild anything. Ask vendors for an SBOM, a statement on whether they bundle the affected component, and a fix date. Track that commitment like any other remediation item.
Frequently asked questions
Is bundling bad practice? No. Bundling gives reproducible builds and avoids version conflicts. The risk is not bundling itself but not knowing where the copies are and how each one gets updated.
Does updating the system library ever fix a bundled copy? Only if the program actually uses the system library. Some distribution packages do, as with some Linux builds of Node.js. That is exactly why you have to check each deployment instead of assuming.
What about software that is no longer maintained? A bundled copy inside abandoned software never gets fixed. Treat it as end-of-life software: isolate it, compensate, and plan the replacement.
How priorIQ.ai helps
CodeIQ analyzes repositories and pipelines with SCA, generates SBOMs in CycloneDX and SPDX, and scans containers and infrastructure as code, so dependencies are visible where they are built. ScannerIQ inventories endpoints, servers and installed software with native agents and agentless scanners. PriorIQ Core reconciles everything into a normalized software inventory and groups findings into remediation actions, one row per patch, upgrade or vendor advisory, prioritized with CVSS, EPSS, CISA KEV, verified public exploits and the business exposure of each asset. Request a demo.