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:000805,sig:06,src:006413,time:37862019,execs:12157451,op:havoc,rep:2)

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

Summary

SEGV in tflite-invoke (id:000805,sig:06,src:006413,time:37862019,execs:12157451,op:havoc,rep:2). 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 (1984 bytes)

ASAN Output

/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/dequantize.cc:68:22: runtime error: member access within null pointer of type 'TfLiteTensor'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/dequantize.cc:68:22 in 
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/dequantize.cc:68:22: runtime error: store to null pointer of type 'TfLiteType'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/dequantize.cc:68:22 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1304702==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x574addf949da bp 0x7ffc02988a80 sp 0x7ffc02988a40 T0)
==1304702==The signal is caused by a WRITE memory access.
==1304702==Hint: address points to the zero page.
    #0 0x574addf949da in tflite::ops::builtin::dequantize::Prepare(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/dequantize.cc:68:27
    #1 0x574add6e5e4f in tflite::Subgraph::PrepareOpsStartingAt(int, std::vector<int, std::allocator<int>> const&, int*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1508:44
    #2 0x574add6fbfbb in tflite::Subgraph::ModifyGraphWithDelegateImpl(TfLiteDelegate*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:2307:5
    #3 0x574add700123 in tflite::Subgraph::ModifyGraphWithDelegate(TfLiteDelegate*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:2260:17
    #4 0x574add632e26 in tflite::impl::Interpreter::ModifyGraphWithDelegateImpl(TfLiteDelegate*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:410:24
    #5 0x574add62adb9 in TfLiteStatus tflite::impl::Interpreter::ModifyGraphWithDelegateImpl<TfLiteDelegate, void (*)(TfLiteDelegate*)>(std::unique_ptr<TfLiteDelegate, void (*)(TfLiteDelegate*)>&&) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.h:861:12
    #6 0x574add62adb9 in tflite::impl::Interpreter::ApplyLazyDelegateProviders() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:346:19
    #7 0x574add62a17f in tflite::impl::Interpreter::AllocateTensors() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:192:7
    #8 0x574add5ac476 in LLVMFuzzerTestOneInput /home/lab/huntr/harnesses/tflite/fu

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
7