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:000704,sig:06,src:037833,time:31189256,execs:9613437,op:colorization,rep:11)

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

Summary

SEGV in tflite-invoke (id:000704,sig:06,src:037833,time:31189256,execs:9613437,op:colorization,rep:11). 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 (484 bytes)

ASAN Output

/home/lab/huntr/targets/tflite/build-afl/cpuinfo/src/linux/multiline.c:85:11: 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: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.
WARNING: Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#2 is a dynamic-sized tensor).
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_elementwise.h:107:5: runtime error: store to null pointer of type 'double'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_elementwise.h:107:5 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==3987460==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5962c4da10bb bp 0x7ffefc548a70 sp 0x7ffefc5489c0 T0)
==3987460==The signal is caused by a WRITE memory access.
==3987460==Hint: address points to the zero page.
    #0 0x5962c4da10bb in TfLiteStatus tflite::ops::builtin::EvalWithType<(tflite::ops::builtin::ComputationType)0, double>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_elementwise.h:107:75
    #1 0x5962c4d9d60e in TfLiteStatus tflite::ops::builtin::ElementwiseEval<(tflite::ops::builtin::ComputationType)0>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/stablehlo_elementwise.h:129:14
    #2 0x5962c3bd0e84 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #3 0x5962c3bcdce0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1619:17
    #4 0x5962c3b119d6 in tflite::impl::Interpreter::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/interpreter.cc:243:3
    #5 0x5962c3a9065e in LLVMFuzzerTestOneInput /home/lab/huntr/harnesses/tflite/fuzz_tflite_invoke_v2.cpp:19:18
    #6 0x5962c3a8f80a in main (/home/lab/huntr/harnesses/tflite/fuzz_tflite_invoke_v2+0x9f880a) (BuildId: 4f58f306b08a16ba0764b768e045054c72b71547)
    #7 0x776f8882a1c9 in __libc_start_call_main csu/../s

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
5