Linux & DevOps

How to Apply Critical Security Patches Across Major Linux Distributions

2026-05-02 18:03:32

Introduction

Keeping your Linux system secure requires timely application of security updates. This guide walks you through the process of installing the latest patches issued for AlmaLinux, Debian, Fedora, Red Hat, SUSE, and Ubuntu as of the most recent update cycle. By following these steps, you'll ensure your system is protected against known vulnerabilities in packages like buildah, firefox, gdk-pixbuf2, and many others.

How to Apply Critical Security Patches Across Major Linux Distributions
Source: lwn.net

What You Need

Step-by-Step Update Process

Step 1: Verify Your Distribution and Version

Before applying updates, confirm which distribution and version you're running. Use the following commands:

This ensures you apply the correct patches for your system.

Step 2: Update AlmaLinux

AlmaLinux has released patches for multiple packages including buildah, firefox, grafana, and sudo. To install them:

  1. Open a terminal with root privileges: sudo -i or su -
  2. Refresh the package cache: dnf check-update
  3. Update all packages: dnf update
  4. Alternatively, update only the affected packages: dnf update buildah firefox gdk-pixbuf2 giflib grafana java-1.8.0-openjdk java-21-openjdk LibRaw OpenEXR PackageKit pcs python3.11 python3.12 python3.9 sudo tigervnc vim xorg-x11-server xorg-x11-server-Xwayland yggdrasil yggdrasil-worker-package-manager
  5. Reboot if a kernel or core library was updated.

Step 3: Update Debian

Debian's updates cover calibre, firefox-esr, and openjdk-17. Follow these steps:

  1. Become root: sudo -i
  2. Update the package list: apt update
  3. Upgrade all packages: apt upgrade
  4. To upgrade only the specific packages: apt install --only-upgrade calibre firefox-esr openjdk-17-jre
  5. Reboot if necessary (especially after OpenJDK updates).

Step 4: Update Fedora

Fedora has patches for asterisk, binaryen, dokuwiki, and many others. Use DNF:

  1. Open a terminal with sudo privileges.
  2. Check for updates: sudo dnf check-update
  3. Apply all updates: sudo dnf upgrade
  4. For selective updates, run: sudo dnf upgrade asterisk binaryen dokuwiki lemonldap-ng libexif libgcrypt miniupnpd openvpn podman python3.9 rust-rpm-sequoia skopeo xdg-dbus-proxy
  5. Reboot if the kernel or systemd was updated.

Step 5: Update Red Hat Enterprise Linux

Red Hat's advisory includes buildah, gdk-pixbuf2, and nodejs:20:

  1. Use su - to become root.
  2. Check for applicable errata: yum check-update or dnf check-update
  3. Install updates: yum update or dnf update
  4. To update only the listed packages: yum update buildah gdk-pixbuf2 nodejs (note: nodejs:20 is a module stream; if you're using AppStream, run yum module update nodejs:20)
  5. Reboot if needed.

Step 6: Update SUSE Linux Enterprise / openSUSE

SUSE's updates affect dnsdist, libheif, openCryptoki, polkit, sed, and xen:

  1. Open a terminal with root access: sudo -i
  2. Refresh repository metadata: zypper refresh
  3. Update all packages: zypper update
  4. For targeted updates: zypper install --from-repo dnsdist libheif openCryptoki polkit sed xen (adjust repo if needed)
  5. Reboot after Xen hypervisor updates.

Step 7: Update Ubuntu

Ubuntu patches cover linux-bluefield, python-marshmallow, and roundcube:

  1. Open a terminal and run: sudo apt update
  2. Apply all upgrades: sudo apt upgrade
  3. To update only the specific packages: sudo apt install --only-upgrade linux-image-bluefield python3-marshmallow roundcube
  4. Reboot if a kernel update was applied.

Step 8: Verify Updates Were Applied

After installing updates, confirm the new versions are active:

Tips for a Smooth Update Process

Explore

Rebuilding the Heart of School: A Q&A on Humanizing Education The AI Citation Audit: Track Your Brand's True Impact Across ChatGPT, Perplexity, and Claude How to Prevent Real-Time Teamwork Dashboards from Undermining Collaboration 10 Innovations Behind the New Facebook Groups Search: Unlocking Community Knowledge How to Leverage AI to Uncover Hidden Security Bugs: Lessons from Firefox's 271 Zero-Day Discovery