p PatchFirst

CVE-2026-124757

CVE-2026-124757 · UBUNTU-CVE-2026-124757

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="needrestart"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

needrestart does not properly validate process names and cgroup paths, allowing a local attacker to escalate privileges to root or inject arbitrary output.

Published
Updated

Fixes in distributions

  • DLA-4921-1 · Debian 12 ·
  • USN-9151-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu 26.10, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • DSA-6637-1 · Debian 13 ·

Stack: system

Affected products and versions

  • needrestart Debian 12

    Versions
    • 3.6-4
    • 3.6-4+deb12u1
    • 3.6-4+deb12u2
    • 3.6-4+deb12u3
    Affected ranges
    • ECOSYSTEM: < 3.6-4+deb12u4

    Update to 3.6-4+deb12u4

  • needrestart Debian 13

    Versions
    • 3.11-1
    Affected ranges
    • ECOSYSTEM: < 3.11-1.1~deb13u1

    Update to 3.11-1.1~deb13u1

  • needrestart Debian 14

    Versions
    • 3.11-1
    • 3.11-1.1~deb13u1
    • 3.11-1.1~deb13u2
    Affected ranges
    • ECOSYSTEM: < 3.11-1.1

    Update to 3.11-1.1

  • needrestart Ubuntu Pro 16.04 LTS

    Versions
    • 2.1-1
    • 2.3-2
    • 2.4-1
    • 2.5-1
    • 2.6-1
    • 2.6-1ubuntu0.1~esm1
    All versions (8)
    • 2.6-1ubuntu0.1~esm2
    • 2.6-1ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: < 2.6-1ubuntu0.1~esm4

    Update to 2.6-1ubuntu0.1~esm4

  • needrestart Ubuntu Pro 18.04 LTS

    Versions
    • 2.11-4
    • 3.0-1
    • 3.1-1
    • 3.1-1ubuntu0.1
    • 3.1-1ubuntu0.1+esm1
    • 3.1-1ubuntu0.1+esm2
    All versions (7)
    • 3.1-1ubuntu0.1+esm3
    Affected ranges
    • ECOSYSTEM: < 3.1-1ubuntu0.1+esm4

    Update to 3.1-1ubuntu0.1+esm4

  • needrestart Ubuntu Pro 20.04 LTS

    Versions
    • 3.4-5
    • 3.4-6
    • 3.4-6ubuntu0.1
    • 3.4-6ubuntu0.1+esm1
    • 3.4-6ubuntu0.1+esm2
    • 3.4-6ubuntu0.1+esm3
    Affected ranges
    • ECOSYSTEM: < 3.4-6ubuntu0.1+esm4

    Update to 3.4-6ubuntu0.1+esm4

  • needrestart Ubuntu 22.04 LTS

    Versions
    • 3.5-4ubuntu2
    • 3.5-5ubuntu1
    • 3.5-5ubuntu2
    • 3.5-5ubuntu2.1
    • 3.5-5ubuntu2.2
    • 3.5-5ubuntu2.3
    All versions (8)
    • 3.5-5ubuntu2.4
    • 3.5-5ubuntu2.5
    Affected ranges
    • ECOSYSTEM: < 3.5-5ubuntu2.6

    Update to 3.5-5ubuntu2.6

  • needrestart Ubuntu 24.04 LTS

    Versions
    • 3.6-5
    • 3.6-6
    • 3.6-7
    • 3.6-7ubuntu3
    • 3.6-7ubuntu4
    • 3.6-7ubuntu4.1
    All versions (9)
    • 3.6-7ubuntu4.3
    • 3.6-7ubuntu4.4
    • 3.6-7ubuntu4.5
    Affected ranges
    • ECOSYSTEM: < 3.6-7ubuntu4.6

    Update to 3.6-7ubuntu4.6

  • needrestart Ubuntu 26.10

    Versions
    • 3.11-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.11-1ubuntu2.26.10.1

    Update to 3.11-1ubuntu2.26.10.1

  • needrestart Ubuntu 26.04 LTS

    Versions
    • 3.11-1ubuntu1
    • 3.11-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.11-1ubuntu2.26.04.1

    Update to 3.11-1ubuntu2.26.04.1

Original sources

Check your server →