The Unchecked Atlasv0.3

Code ancestry · pinned provenance

Shared ancestry

Explore documented code copies, pinned sources and attached public cases.

Documented code ancestry

Each branch records an upstream repository relationship at a pinned commit across ggml, hnswlib, and TensorFlow / TSL. Select any repository, bezier branch, or relation mark to read its source quote, SHA-256 digest, and attached public cases.

3 shared codebases · 5 pinned copies

Shared code ancestry & public security records

Count vs capacityIndex vs tableShape vs buffer
ggmlggml-org/ggml · GGUF loaderhnswlibnmslib/hnswlib · loadIndexTensorFlow (TSL)tensorflow/tsl · SavedModelllama.cppvendored copyscripts/sync-ggml.sh:9 · 0a94a3f289whisper.cppvendored copyscripts/sync-ggml.sh:9 · bd9e1a1235stable-diffusion.cppgit submodule.gitmodules:1-3 · a3c49b13bespotify/voyagerin-tree forkcpp/src/hnswalg.h:744-843 · 2a2f1f134aOpenXLA (TSL copy)Copybara mirrordocs/copybara.md:27 · 1aa760798aCVE-2026-78147 · CVE-2026-78148 (+1)3 published CVEs · ggml-rpc & schemaCVE-2026-10298 · CVE-2026-17512 (+1)3 published CVEs · 1 Atlas caseCVE-2026-70659 · GHSA-6q7q-2v9c-x8m7Published CVE & GHSA · 1 Atlas caseCVE-2026-124959 · CERT/CC VU#681158Published CVE & CERT/CC note · loadIndextensorflow/tensorflow#130078Merged upstream fix · Copybara TSL

Lineage fork trace · nmslib/hnswlib → spotify/voyager

How an unchecked cur_element_count <= max_elements_ assumption crosses a fork (CVE-2026-124959 · VU#681158)

Inspect voyager fork
Read from the filecur_element_count (header)Forked into voyagercpp/src/hnswalg.h:744Where the check belongscur_element_count <= max_elements_Where the limit is set: max_elements_ bufferWhere memory is usedread(data_level0_memory_, bytes)?Read from the filecur_element_count (header)Forked into voyagercpp/src/hnswalg.h:744Where the check belongsLimit: max_elements_ bufferWhere memory is usedread(data_level0_memory_, bytes)?
Both nmslib/hnswlib and spotify/voyager carried this fallback into loadIndex.

As released: cur_element_count from the index header passes without a bound check against max_elements_ and overflows data_level0_memory_ during the bulk read.

if (max_elements < cur_element_count)
    max_elements = max_elements_;   // keeps smaller prior allocation
inputStream->read(data_level0_memory_, cur_element_count * size_data_per_element_);
Pinned upstream basis & SHA-256 receiptsSelect any relation row to focus its path and open the repository source drawer
Vendored mirrorpartial basis.gitmodules:1-3a3c49b13be · sha256 c5272b2308b9205b

ggml (src/, include/) stable-diffusion.cpp (ggml/)

[submodule "ggml"] path = ggml url = https://github.com/leejet/ggml.git
Invariant: n_dims <= GGML_MAX_DIMS && offset + size <= file_sizesdcpp-imatrix-duplicate-name
In-tree forkcpp/src/hnswalg.h:744-8432a2f1f134a · sha256 ab9b27b64017609e

hnswlib (hnswlib/hnswalg.h) spotify/voyager (cpp/src/hnswalg.h)

if (max_elements < cur_element_count) max_elements = max_elements_; ... inputStream->read(data_level0_memory_, bytes_to_read);
Invariant: cur_element_count <= max_elements_ before level-0 bulk readCVE-2026-124959CERT/CC VU#681158
Vendored mirrorpartial basisdocs/copybara.md:271aa760798a · sha256 a190ad47ab4868bc

TensorFlow (TSL) (tensorflow/tsl) OpenXLA (TSL copy) (third_party/tsl (xla/tsl))

XLA depends on TSL not by downloading a copy by using Bazel's `http_archive`, but by having Copybara copy TSL into XLA's `third_party` directory.
Invariant: Copybara-mirrored TSL record & stream boundstensorflow/tensorflow#130078
Branches show documented upstream code relationships at pinned commits. Dashed curves mark a partial documentary basis. Public cases and CVEs attach to individual repositories; shared ancestry alone does not establish a defect in a sibling copy.

The same relations as a table

OriginDownstream copyRelationPinned basisChecked
ggml (src/, include/, cmake/)llama.cpp (ggml/)Vendored mirror scripts/sync-ggml.sh at 0a94a3f2892026-11-09
ggml (src/, include/, cmake/)whisper.cpp (ggml/)Vendored mirror scripts/sync-ggml.sh at bd9e1a12352026-11-09
ggml (src/, include/)stable-diffusion.cpp (ggml/)Vendored mirror partial basis.gitmodules at a3c49b13be2026-11-09
hnswlib (hnswlib/hnswalg.h)spotify/voyager (cpp/src/hnswalg.h)In-tree fork cpp/src/hnswalg.h at 2a2f1f134a2026-11-05
TensorFlow (TSL) (tensorflow/tsl)OpenXLA (TSL copy) (third_party/tsl (xla/tsl))Vendored mirror partial basisdocs/copybara.md at 1aa760798a2026-11-09

What this page does not claim

  • A relation is a statement about shared code, read from the upstream repository at the commit linked. It says nothing about whether a defect exists in either copy.
  • Where the wording of the upstream text is narrower than the relation, the row says so and marks the basis as partial.
  • A dependency that is downloaded at build time, such as a library fetched by a build file, is not a shared copy and is not drawn.
  • Code similarity found by a tool is a lead, not a relation, and is not shown.