YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
SEGV in tflite-invoke (id:000808,sig:06,src:028685,time:38367100,execs:12342701,op:havoc,rep:2)
Severity: medium CWE: CWE-119 Target: tflite-invoke Generated: 2026-02-27
Summary
SEGV in tflite-invoke (id:000808,sig:06,src:028685,time:38367100,execs:12342701,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(660 bytes)
ASAN Output
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter_builder.cc:797:18: runtime error: member call on null pointer of type 'flatbuffers::Vector<flatbuffers::Offset<tflite::SubGraph>>'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter_builder.cc:797:18 in
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1304340==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5a09b41252dd bp 0x7fff6fb3e110 sp 0x7fff6fb3df80 T0)
==1304340==The signal is caused by a READ memory access.
==1304340==Hint: address points to the zero page.
#0 0x5a09b41252dd in tflite::impl::InterpreterBuilder::operator()(std::unique_ptr<tflite::impl::Interpreter, std::default_delete<tflite::impl::Interpreter>>*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter_builder.cc:797:25
#1 0x5a09b40572af in LLVMFuzzerTestOneInput /home/lab/huntr/harnesses/tflite/fuzz_tflite_invoke_v2.cpp:17:9
#2 0x5a09b405680a in main (/home/lab/huntr/harnesses/tflite/fuzz_tflite_invoke_v2+0x9f880a) (BuildId: 4f58f306b08a16ba0764b768e045054c72b71547)
#3 0x70404982a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#4 0x70404982a28a in __libc_start_main csu/../csu/libc-start.c:360:3
#5 0x5a09b3f77d04 in _start (/home/lab/huntr/harnesses/tflite/fuzz_tflite_invoke_v2+0x919d04) (BuildId: 4f58f306b08a16ba0764b768e045054c72b71547)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter_builder.cc:797:25 in tflite::impl::InterpreterBuilder::operator()(std::unique_ptr<tflite::impl::Interpreter, std::default_delete<tflite::impl::Interpreter>>*)
==1304340==ABORTING
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