A Go implementation of copyfail (CVE-2026-31431)
Find a file
Erik e52acbb172
Merge pull request #1 from mosajjal/aarch64-support
Add aarch64 payload and resolve su via PATH
2026-04-29 23:11:02 -04:00
.github/workflows feat: initial commit 2026-04-29 18:53:12 -04:00
.gitignore feat: initial commit 2026-04-29 18:53:12 -04:00
.goreleaser.yaml feat: initial commit 2026-04-29 18:53:12 -04:00
go.mod feat: initial commit 2026-04-29 18:53:12 -04:00
go.sum feat: initial commit 2026-04-29 18:53:12 -04:00
LICENSE feat: initial commit 2026-04-29 18:53:12 -04:00
main.go feat: add aarch64 payload and resolve su via PATH 2026-04-30 14:04:08 +12:00
README.md feat: initial commit 2026-04-29 18:53:12 -04:00

CopyFail Go

Most Linux LPEs need a race window or a kernel-specific offset.Copy Fail is a straight-line logic flaw — it needs neither.The same 732-byte Python script static Go binary roots every Linux distribution shipped since 2017.

A Go implementation of CVE-2026-31431. In case you need a static binary and no Python dependency.

See copy.fail for more info.