YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
SEGV in tflite-invoke (id:000707,sig:06,src:036742,time:31237001,execs:9639148,op:havoc,rep:3)
Severity: medium CWE: CWE-119 Target: tflite-invoke Generated: 2026-02-27
Summary
SEGV in tflite-invoke (id:000707,sig:06,src:036742,time:31237001,execs:9639148,op:havoc,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(1984 bytes)
ASAN Output
=================================================================
==3987119==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5a2d6e17476f bp 0x7ffc09b81710 sp 0x7ffc09b81690 T0)
==3987119==The signal is caused by a WRITE memory access.
==3987119==Hint: address points to the zero page.
#0 0x5a2d6e17476f in void EigenForTFLite::internal::pstore<float, float vector[4]>(float*, float vector[4] const&) /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/SSE/PacketMath.h:1446:29
#1 0x5a2d6e17476f in void EigenForTFLite::internal::pstoret<float, float vector[4], 16>(float*, float vector[4] const&) /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/../../../Eigen/src/Core/GenericPacketMath.h:1352:5
#2 0x5a2d6e17476f in void EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 4, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::ThreadPoolDevice>::writePacket<16>(long, float vector[4] const&) const /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:118:12
#3 0x5a2d6e17476f in EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorAssignOp<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 4, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::TensorReshapingOp<EigenForTFLite::DSizes<long, 4> const, EigenForTFLite::TensorContractionOp<std::array<EigenForTFLite::IndexPair<long>, 1ul> const, EigenForTFLite::TensorReshapingOp<EigenForTFLite::DSizes<long, 2> const, EigenForTFLite::TensorImagePatchOp<-1l, -1l, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 4, 1, long>, 16, EigenForTFLite::MakePointer> const> const> const, EigenForTFLite::TensorReshapingOp<EigenForTFLite::DSizes<long, 2> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 4, 1, long>, 16, EigenForTFLite::MakePointer> const> const, EigenForTFLite::NoOpOutputKernel const> const> const> const, EigenForTFLite::ThreadPoolDevice>::evalPacket(long) const /home/lab/huntr/targets/tflite/build-afl/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h:163:25
#4 0x5a2d6e17476f in EigenForTFLite::internal::EvalRange<EigenForTFLite::TensorEvaluator<EigenForTFLite::TensorAssignOp<EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float, 4, 1, long>, 16, EigenForTFLite::MakePointer>, EigenForTFLite::TensorReshapingOp<EigenForTFLite::DSizes<long, 4> const, EigenForTFLite::TensorContractionOp<std::array<EigenForTFLite::IndexPair<long>, 1ul> const, EigenForTFLite::TensorReshapingOp<EigenForTFLite::DSizes<long, 2> const, EigenForTFLite::TensorImagePatchOp<-1l, -1l, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 4, 1, long>, 16, EigenForTFLite::MakePointer> const> const> const, EigenForTFLite::TensorReshapingOp<EigenForTFLite::DSizes<long, 2> const, EigenForTFLite::TensorMap<EigenForTFLite::Tensor<float const, 4, 1, long>, 16, EigenForTFLite::MakePointer> co
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