• News/
  • https://www.bleepingcomputer.com/news/security/new-linux-copy-fail-flaw-gives-hackers-root-on-major-distros/

New Linux ‘Copy Fail’ flaw gives hackers root on major distros

BleepingComputer
·
Bill Toulas
·
Published Apr 30, 2026
·
Updated

An exploit has been published for a local privilege escalation vulnerability dubbed “Copy Fail” that impacts Linux kernels released since 2017, allowing an unprivileged local attacker to gain root permissions. The vulnerability is tracked as CVE-2026-31431 and was discovered by the offensive security company Theori, using its AI-driven pentesting platform Xint Code after scaning the Linux crypto/ sybsystem for about an hour. Theori reported the finding to the Linux kernel security team on March 23, and patches became available within a week. Technical details and a proof-of-concept exploit for the flaw emerged publicly yesterday. Although the cybersecurity company developed and tested a "100% reliable" Python-based exploit for four Linux distributions (Ubuntu 24.04 LTS, Amazon Linux 2023, RHEL 10.1, and SUSE 16), the researchers say that the 732-byte "script roots every Linux distribution shipped since 2017." In a detailed write-up, the researchers say that the Copy Fail (CVE-2026-31431) issue "is a logic bug in the Linux kernel's authencesn cryptographic template" that allows an authenticated user to reliably perform a "4-byte write in to the page cache of any readable file on the system." By combining the ‘AF_ALG’ socket-based interface, which gives access to the Linux kernel crypto functions from user space, and the splice() system call, an unprivileged user can make a 4-byte controlled write in the page cache of a file, instead of a normal buffer. If those 4 bytes hit a ...

Read full article

Affected Software

5 affected components
Linux Kernel>=4.14, <6.18.22, <6.19.12, <7.0
Canonical Ubuntu=24.04 LTS
Amazon Amazon Linux=2023
Red Hat RHEL=10.1
SUSE SUSE Linux Enterprise=16
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the main topic of this article?

The article discusses a new local privilege escalation vulnerability in Linux known as 'Copy Fail' that allows attackers to gain root access.

2

What security implications are discussed in this article?

The 'Copy Fail' flaw could enable unprivileged local attackers to escalate their privileges to root, posing a significant security risk.

3

Which Linux kernel versions are affected by the 'Copy Fail' vulnerability?

The vulnerability affects Linux kernels released since version 4.14 up to exclusive version 7.0.

4

What Linux distributions are specifically mentioned as being impacted?

The affected distributions include Canonical Ubuntu 24.04 LTS, Amazon Linux 2023, Red Hat RHEL 10.1, and SUSE Linux Enterprise 16.

5

When was the 'Copy Fail' vulnerability disclosed or published?

The exploit for the 'Copy Fail' vulnerability has been published recently, highlighting its urgency and the need for patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203