Share
## https://sploitus.com/exploit?id=B8E38525-9931-5E69-BAE1-8AF5F3C9C975
# CVE-2026-31431 Checker ("Copy Fail")

Detection tool for Linux kernel AF_ALG AEAD use-after-free vulnerability.

## Compile

```bash
gcc -o cve-2026-31431 CVE-2026-31431.c
```

## Run

```bash
./cve-2026-31431
```

## Results

- **OK (AF_ALG socket failed)** - Not vulnerable, AF_ALG interface disabled
- **OK (bind failed)** - Not vulnerable, AEAD interface unavailable
- **OK (sent N bytes)** - Successfully sent, system not vulnerable
- **Warning: vulnerable AF_ALG interface accessible!** - System may be vulnerable

## Warning

Use only in test environments with proper authorization.

## Disclaimer

This tool is provided for **security research and defensive purposes only**. Users must:
- Have explicit authorization to test target systems
- Use only on systems they own or have permission to assess
- Comply with all applicable laws and regulations

Unauthorized access to computer systems is illegal. The authors assume no liability for misuse or damages.

## License

MIT License - see LICENSE file for details.