Exploit database

GH-7daa484b51695455206c6f14ded889d0

atgreen/block-copyfail

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 files8
atgreen/block-copyfailRevision d02f599f70ec

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

trigger-test.py

Python · 556 bytes
#!/usr/bin/env python3
"""Trigger AF_ALG AEAD binds to test the blocker."""
import socket

tests = [
    ("aead", "authencesn(hmac(sha256),cbc(aes))"),
    ("aead", "gcm(aes)"),
    ("hash", "sha256"),
    ("skcipher", "cbc(aes)"),
]

for salg_type, salg_name in tests:
    sock = socket.socket(socket.AF_ALG, socket.SOCK_SEQPACKET, 0)
    try:
        sock.bind((salg_type, salg_name))
        print(f"ALLOWED: {salg_type}/{salg_name}")
    except OSError as e:
        print(f"BLOCKED: {salg_type}/{salg_name} — {e}")
    finally:
        sock.close()