'A single 732-byte Python script can be used to obtain root on essentially all Linux distributions shipped since 2017': Time to update your kernel
🖥 PCNews
#Linux#Software#Operating Systems

'A single 732-byte Python script can be used to obtain root on essentially all Linux distributions shipped since 2017': Time to update your kernel

PC Gamer RSS FeedJess Kinghorn2 min read(4 months ago)

Overview & Key Takeaways

Batten down the distros.

Gaming on Linux has never been better—but that doesn't mean your distros are free from security threats. Case in point is a severe vulnerability nicknamed 'Copy Fail,' which allows a local user to dig into the guts of the OS and give themselves root privileges merely by writing four bytes of controlled data into the page cache of any readable file.

The security research team at Theori disclosed the vulnerability last Wednesday, though CISA reports that threat actors have since been observed using the exploit in the wild. The security flaw has been given the designation CVE-2026-31431 and marked with a high severity score of 7.8 (via Bleeping Computer).

This is because Copy Fail could potentially leave a large number of Linux users exposed—if you've not updated your kernel in a hot minute, now would be the time. Theori puts it succinctly in its write-up, summarising, "A single 732-byte Python script can [be used to] obtain root on essentially all Linux distributions shipped since 2017."

As such, CISA added the vulnerability to its Known Exploited Vulnerabilities Catalog. In accordance with 'Binding Operational Directive (BOD) 22-01', this move in turn requires Federal Civilian Executive Branch agencies based throughout the USA to update their systems by May 15 in order to protect their systems against this active threat.

CISA warns, "This type of vulnerability is a frequent attack vector for malicious cyber actors and poses significant risks to the federal enterprise."

(Image credit: Ubuntu)

Cybersecurity firm Theori also offers a more digestible Copy Fail guide. This includes the security research team's original Proof of Concept script so "defenders can verify their own systems and validate vendor patches." It's worth clarifying that this script requires local access to a machine running Linux, and that the security vulnerability is not an example of remote code execution.

The team found the same script works in Ubuntu 24.04 LTS, Amazon Linux 2023, RHEL 10.1, and SUSE 16, but obviously, plenty of other Linux distros are also affected.

Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.

This news follows claims made last week by Canonical—the company that created Ubuntu—that its web infrastructure was under a "sustained, cross-border attack". Though the Copy Fail vulnerability was disclosed by Theori around the same time, the exploit may not be to blame. Canonical has yet to provide an update after its X post on May 1st.

Best PC gaming kit 2026

Share:

More in PC

The Blood of Dawnwalker: How to romance Lacra🖥 PlayStation, Xbox, PC

The Blood of Dawnwalker: How to romance Lacra

!(https://assetsio.gnwcdn.com/lacra-and-will-o-the-wisps.jpg?width=690&quality=85&format=jpg&auto=webp) Lacra is the only vrakhir you can romance in The Blood of Dawnwalker(https://www.rockpapershotgun.com/games/dawnwalker) and is certainly an attractive choice if you're interested in someone a little darker and more close to your vampiric side than the other two options, Anca(https://www.rockpapershotgun.com/the-blood-of-dawnwalker-how-to-romance-anca) and Crake(https://www.rockpapershotgun.com/the-blood-of-dawnwalker-how-to-romance-crake). Lacra's questline also delivers several revelations about Brencis, the main antagonist of the game, and lore fans will delight in the many secrets that her missions provide regarding the role of vampires in this twisted world. She'll also help you access the uriashi village, a tranquil place where you can rest from the horrors of Vale Sangora and pick up some sweet loot. In this guide, we'll explain exactly how to romance Lacra in The Blood of Dawnwalker, including completing her quests, engaging in some flirtatious moments, and maybe even one or two steamy bloodsucking scenes. Read more(https://www.rockpapershotgun.com/the-blood-of-dawnwalker-how-to-romance-lacra)

RockGuides / Walkthroughsabout 3 hours ago
Nvidia CEO Jensen Huang tells Trump he agrees the AI doomsayers are perpetrating a hoax: 'you saw through all of that'🖥 PC

Nvidia CEO Jensen Huang tells Trump he agrees the AI doomsayers are perpetrating a hoax: 'you saw through all of that'

On slowing down AI, the CEO says Nvidia is "not going to let that happen."

PCNewsabout 3 hours ago
Dishonored director Harvey Smith thinks there's still room for big-budget immersive sims: 'When it really comes together and it has the budget behind it and the team, you end up with Deus Ex or Dishonored'🖥 PC

Dishonored director Harvey Smith thinks there's still room for big-budget immersive sims: 'When it really comes together and it has the budget behind it and the team, you end up with Deus Ex or Dishonored'

And now he's going to have to duke it out with Thief designer Randy Smith Evergreen.

PCNewsabout 4 hours ago