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:000806,sig:06,src:038521,time:38287440,execs:12314310,op:havoc,rep:2)

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

Summary

SEGV in tflite-invoke (id:000806,sig:06,src:038521,time:38287440,execs:12314310,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: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.
/home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc:62:3: runtime error: store to null pointer of type 'float'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc:62:3 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1304430==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5798bad0b85b bp 0x7ffebfc27dd0 sp 0x7ffebfc27d60 T0)
==1304430==The signal is caused by a WRITE memory access.
==1304430==Hint: address points to the zero page.
    #0 0x5798bad0b85b in tflite::tensor_utils::PortableSymmetricQuantizeFloats(float const*, int, signed char*, float, float, float*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc:62:19
    #1 0x5798b9b4f17c in TfLiteStatus tflite::ops::builtin::conv::EvalHybrid<(tflite::ops::builtin::conv::KernelType)2>(TfLiteContext*, TfLiteNode*, TfLiteConvParams*, tflite::ops::builtin::conv::OpData*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor const*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/conv.cc:1147:7
    #2 0x5798b9b4430a in TfLiteStatus tflite::ops::builtin::conv::EvalImpl<(tflite::ops::builtin::conv::KernelType)2, (TfLiteType)1>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/conv.cc:1238:11
    #3 0x5798b990b1e1 in TfLiteStatus tflite::ops::builtin::conv::Eval<(tflite::ops::builtin::conv::KernelType)2>(TfLiteContext*, TfLiteNode*) /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/kernels/conv.cc:1275:14
    #4 0x5798b9449e84 in tflite::Subgraph::InvokeImpl() /home/lab/huntr/targets/tflite/tf-src/tensorflow/lite/core/subgraph.cc:1726:18
    #5 0x5798b9446ce0 in tflite::Subgraph::Invoke() /home/lab/huntr/targets/tflite/tf-src/tensorflow

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