Here’s another oldie that’s turned up on CISA’s exploited list. Worth a quick check if you run long-lived RHEL or CentOS servers.

At a glance

  • CVE: CVE-2018-14634. Qualys, who found it, named it “Mutagen Astronomy”.
  • Severity: 7.8 (High) on NVD, and Red Hat rates it Important. It’s a local bug: the attacker has to be able to run programs on the box already.
  • Affected: in practice, 64-bit kernels that have a 2007 change but are missing a July 2017 upstream fix (commit da029c11e6b1, which caps how much stack the arguments can use). Qualys said most distros had already backported that fix, but RHEL, CentOS and Debian 8 “jessie” hadn’t. Red Hat lists RHEL 6 and 7 as affected; RHEL 5 and 8 aren’t. Ubuntu 18.04 and newer aren’t affected. NVD’s ranges point at 2.6.x, 3.10.x and 4.14.x kernels, and also list Palo Alto Networks and F5 appliances that ship affected kernels.
  • Known exploited: Yes. CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 2026-01-26, more than seven years after it was disclosed.

What’s going on

When you start a program, the kernel copies its command-line arguments and environment variables onto the new program’s stack. A function called create_elf_tables() counts them up in a plain int. Pass it a ridiculous number of arguments (around two billion) and that count overflows and goes negative. The kernel then puts the stack pointer in the wrong place, right in the middle of the attacker’s own strings.

Qualys used that against SUID-root programs (ones that run as root no matter who starts them) to get full root privileges. The catch is that their exploit needed a 64-bit system and about 32 GB of memory. Red Hat says 32-bit systems aren’t affected and machines with less than 32 GB of RAM are very unlikely to be. Ubuntu’s notes say the same about the 32 GB limit.

For your web servers, this is local privilege escalation. Nobody can use it straight over HTTP. But if someone gets code running as your web user through a buggy app, an unpatched RHEL or CentOS 6/7 box with plenty of RAM gives them a path to root. And big database and app servers are exactly the machines that tend to have 32 GB or more.

Timeline

  • Upstream change that closes the hole: 2017-07-07 (commit da029c11e6b1)
  • Reported to Red Hat: 2018-08-31
  • Disclosed: 2018-09-25 (coordinated release by Qualys)
  • Patch released: 2018-09-25 for RHEL 7 (RHSA-2018:2748); RHEL 6 followed on 2018-10-09 (RHSA-2018:2846)
  • Added to CISA KEV: 2026-01-26

== UPDATE ==

The fixes have been out since 2018. The job now is making sure none of your older boxes missed them.

  • Patch available: Yep, for years.
  • Fixed in: RHEL 7 kernel 3.10.0-862.14.4.el7 or later, RHEL 6 kernel 2.6.32-754.6.3.el6 or later, Debian 8 “jessie” 3.16.59-1 (DLA-1529-1), Debian 9 “stretch” 4.9.47-1, Ubuntu 16.04 4.4.0-93.116 and Ubuntu 14.04 3.13.0-160.210. Any kernel that includes the July 2017 upstream fix is fine. Check your distro’s tracker (linked below) for your exact release.
  • How to apply: install the latest kernel from your distro and reboot. On RHEL/CentOS 6 or 7 that’s sudo yum update kernel; on Debian or Ubuntu it’s sudo apt update && sudo apt upgrade. Run uname -r after the reboot to confirm you’re on the new kernel.
  • If you can’t patch yet: Red Hat publishes a SystemTap-based workaround that lowers the stack limit while programs start. It needs the kernel debuginfo packages and has to be loaded again after every reboot, so for most people patching is simpler. Red Hat also notes it may not suit apps that use a lot of stack space.

References