Exploit database

GH-3e4507aa2dfab678631e56a68e29c690

gouldnicholas/cve-2026-7669-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-7669

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files11

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

sglang_source/python/sglang/jit_kernel/csrc/ngram_corpus/result.h

Text · 687 bytes
#pragma once

#include <cstdint>
#include <unordered_map>
#include <vector>

namespace ngram {

struct Result {
  std::vector<int32_t> token;
  std::vector<uint8_t> mask;

  void truncate(size_t n);
};

struct Node {
  std::unordered_map<int32_t, int32_t> next;
};

Result fillResult(int last_token, int draft_token_num, std::vector<Node>& tree, int root);
std::vector<std::vector<int32_t>> extractLeafPaths_(const Result& result);
Result buildResultFromLeafPaths_(int last_token, int draft_token_num, const std::vector<std::vector<int32_t>>& paths);
Result combineRootResults_(int last_token, int draft_token_num, const Result& primary, const Result& secondary);

}  // namespace ngram