You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

SEGV in tflite-invoke (id:000426,sig:06,src:035184,time:16910307,execs:3093164,op:colorization,rep:1)

Severity: medium CWE: CWE-119 Target: tflite-invoke Generated: 2026-02-27

Summary

SEGV in tflite-invoke (id:000426,sig:06,src:035184,time:16910307,execs:3093164,op:colorization,rep:1). See ASAN output below for details.

Reproduction

chmod +x reproduce.sh
./reproduce.sh

Or manually:

# Build target with ASAN
# Run: <target> poc.tflite

PoC File

  • poc.tflite (612 bytes)

ASAN Output

/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/x86/linux/cpuinfo.c:87: note: parse_line defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:64:9 in 
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
ERROR: /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1062 tensor.data.raw != nullptr was not true.
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/tensor_slice_util.cc:53:22: runtime error: reference binding to null pointer of type 'const long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/tensor_slice_util.cc:53:22 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==502061==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5ec3fb802bd4 bp 0x7ffeed8e4ff0 sp 0x7ffeed8e4f00 T0)
==502061==The signal is caused by a READ memory access.
==502061==Hint: address points to the zero page.
    #0 0x5ec3fb802bd4 in void std::__new_allocator<long>::construct<long, long const&>(long*, long const&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:191
    #1 0x5ec3fb802bd4 in void std::allocator_traits<std::allocator<long>>::construct<long, long const&>(std::allocator<long>&, long*, long const&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/alloc_traits.h:538:8
    #2 0x5ec3fb802bd4 in std::vector<long, std::allocator<long>>::push_back(long const&) /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:1286:6
    #3 0x5ec3fb802bd4 in std::vector<long, std::allocator<long>> tflite::ops::builtin::ReadIndexVector<long>(TfLiteTensor const*, tflite::RuntimeShape const&, std::vector<long, std::allocator<long>> const&, long) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/tensor_slice_util.cc:53:12
    #4 0x5ec3fb615b2d in TfLiteStatus tflite::ops::builtin::stablehlo_gather::(anonymous namespace)::EvalWithTypes<long, unsigned long>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_gather.cc:187:9
    #5 0x5ec3fb615b2d in TfLiteStatus tflite::ops::builtin::stablehlo_gather::(anonymous namespace)::EvalWithIndexType<long>(TfLiteContext*, TfLiteNode*, TfLiteType, TfLiteType) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_gather.cc:250:14
    #6 0x5ec3fb5d2517 in tflite::ops::builtin::stablehlo_gather::Eval(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_gather.cc:277:12
    #7 0x5ec3fa3d2e84 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #8 0x5ec3fa3cfce0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1619:17
    #9 0x5ec3fa3139d6 in tflite::impl::Interpreter::Invoke(

Impact

Memory corruption vulnerability reachable by processing a malformed tflite-invoke file. An attacker could craft a malicious file and distribute it to cause denial of service or potentially leak sensitive heap data.

Downloads last month
4