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:000711,sig:06,src:038484,time:31487710,execs:9717218,op:colorization,rep:3)

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

Summary

SEGV in tflite-invoke (id:000711,sig:06,src:038484,time:31487710,execs:9717218,op:colorization,rep:3). 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 (668 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:85:11 in 
/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:64:9: runtime error: call to function parse_line through pointer to incorrect function type 'bool (*)(const char *, const char *, void *, unsigned long)'
/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.
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/runtime_shape.h:248:79: runtime error: signed integer overflow: 67108881 * 16843010 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/runtime_shape.h:248:79 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==3986636==ERROR: AddressSanitizer: SEGV on unknown address 0x7a1a769c408c (pc 0x7a1a1dda134d bp 0x7ffcd78c4e30 sp 0x7ffcd78c45e8 T0)
==3986636==The signal is caused by a READ memory access.
    #0 0x7a1a1dda134d in __memcpy_avx512_unaligned_erms string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
    #1 0x5fdaa5f19ff8 in __asan_memcpy (/home/lab/huntr/harnesses/tflite/fuzz_tflite_invoke_v2+0x9b5ff8) (BuildId: 4f58f306b08a16ba0764b768e045054c72b71547)
    #2 0x5fdaa71d9719 in tflite::SequentialTensorWriter<unsigned int>::WriteN(int, int) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/portable_tensor.h:130:5
    #3 0x5fdaa71d8ccc in void tflite::optimized_ops::Slice<unsigned int>(tflite::SliceParams const&, tflite::RuntimeShape const&, tflite::RuntimeShape const&, tflite::SequentialTensorWriter<unsigned int>*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/optimized/optimized_ops.h:4722:21
    #4 0x5fdaa71cda82 in void tflite::optimized_ops::Slice<unsigned int>(tflite::SliceParams const&, tflite::RuntimeShape const&, TfLiteTensor const*, tflite::RuntimeShape const&, TfLiteTensor*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/optimized/optimized_ops.h:4742:10
    #5 0x5fdaa71b7b2d in TfLiteStatus tflite::ops::builtin::slice::Eval<(tflite::ops::builtin::slice::KernelType)1>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/slice.cc:249:7
    #6 0x5fdaa609de84 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #7 0x5fdaa609ace0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1619:17
    #8 0x5fdaa5fde9d6 in tflite::impl

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
3