Exploit databaseDownload repository ZIP
GH-77b084c651f84d76fe59d880f4600f96
genaforvena/mishe-tauftauf2shell
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files15
genaforvena/mishe-tauftauf2shellRevision 9edba631cfcf
- ↑..Parent directory
- bin/
- evidence/
- build.sh
- config.h
- jpgd_asan.cpp
- loopback_server.cpp
- lottie_api.cpp
- lottie_matrix.sh
- make_lottie_poc.py
- public_api.cpp
- public_api_file_matrix.sh
- public_api_matrix.sh
- run_matrix.sh
- tvgJpgd_directalloc.cpp
- wire_matrix.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/frontier/thorvg2shell/harness/public_api.cpp
C++ · 1,866 bytes// thorvg2shell: real public-API consumer probe.
// Default: reads a JPEG from disk into memory, then calls
// tvg::Picture::load(data,size,"jpg") on the real pinned ThorVG library. This
// is the in-memory byte path a wire service would use (LoaderMgr::loader ->
// JpgLoader::open -> jpgdHeader, JpgLoader::read -> run -> jpgdDecompress).
// With --file: calls tvg::Picture::load(path) instead (plain .jpg claim).
// No direct jpgd call in either mode.
#include <thorvg.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
int main(int argc, char** argv)
{
if (argc < 2) {
std::fprintf(stderr, "usage: %s FILE [mime|--file]\n", argv[0]);
return 2;
}
const char* path = argv[1];
const char* mime = argc > 2 ? argv[2] : "jpg";
const bool file_mode = argc > 2 && !std::strcmp(argv[2], "--file");
std::FILE* f = std::fopen(path, "rb");
if (!f) { std::perror("fopen"); return 2; }
std::string buf;
char chunk[8192];
size_t n;
while ((n = std::fread(chunk, 1, sizeof chunk, f)) > 0) buf.append(chunk, n);
std::fclose(f);
if (tvg::Initializer::init(0) != tvg::Result::Success) {
std::fprintf(stderr, "init failed\n");
return 2;
}
auto picture = tvg::Picture::gen();
auto result = file_mode ? picture->load(path)
: picture->load(buf.data(), static_cast<uint32_t>(buf.size()), mime);
float w = 0, h = 0;
picture->size(&w, &h);
std::printf("public_api%s: bytes=%zu load=%d size=%.0fx%.0f\n",
file_mode ? "_file" : "", buf.size(), static_cast<int>(result), w, h);
std::fflush(stdout);
// Picture's destructor is protected; gen() objects are released via unref()
// or by process exit. This probe is a short-lived process, so no delete.
tvg::Initializer::term();
return 0;
}