On this page (6 sections)

On November 25, 2026, the Debian Security Team published DSA-6661-1, a security update for the shadow package. It fixes CVE-2026-135901, a weakness in the newuidmap and newgidmap helper tools that could let a local user cause a denial of service through file corruption.

If you run Debian 13 (trixie) servers, container hosts or shared systems where several people have shell access, you should plan to apply this update. The advisory is short and the only source available so far is Debian itself, so this article sticks to what Debian states and flags what is not yet known.

What happened

Debian's advisory says the newuidmap and newgidmap tools, which help unprivileged users create uid and gid mappings in user namespaces, do not properly validate a file descriptor location. According to Debian, the result could be a local denial of service through file corruption.

Debian lists a single fixed version: 1:4.17.4-2+deb13u1 for the stable distribution, trixie. The advisory recommends upgrading the shadow packages and points to the shadow security tracker page for the detailed status of the package.

Technical background in plain terms

User namespaces let an ordinary user get what looks like a private set of user and group IDs, which is a building block for rootless containers and sandboxes. To map those IDs onto real ones, the system uses newuidmap and newgidmap. These helpers act on behalf of an unprivileged caller.

Programs that act with more privilege than their caller must be careful about what the caller hands them. Here, Debian describes a missing check on a file descriptor location. A helper that trusts a caller-supplied reference to a file can end up touching a file it should not. Debian characterizes the outcome as file corruption leading to denial of service. The advisory does not describe code execution or privilege escalation.

The Debian advisory does not publish a CVSS score, attack complexity or any proof of concept, and no CVE record details were available in the research. Treat severity as not yet rated, and treat any detail beyond Debian's one-sentence description as unconfirmed.

Who is realistically exposed

Debian describes this as a local denial of service, which implies an attacker would need an account or some form of code execution on the machine first. That shapes who should care most:

  • Shared servers, build hosts and hosting environments where many users have shell access.
  • Container and CI hosts that use rootless containers or user namespaces, since these rely on the uid and gid mapping tools.
  • Web servers where a compromised application account could be used as a foothold for local abuse.
  • Single-user machines with no untrusted local accounts have lower practical exposure, but the update is still worth applying in the normal patch cycle.

Debian's advisory names trixie only. Whether other Debian releases or other distributions ship an affected shadow version is not stated in the research, so check the Debian security tracker and your own distribution's advisories.

How to check your exposure

The advisory says to upgrade the shadow packages but does not name the binary packages that contain the tools. The first command is read-only: it prints the package that owns the newuidmap binary on your system. If it reports an error or no match, the tool is probably not installed on that host.

Find which package provides newuidmap (Debian, read-only)Shell
dpkg -S "$(command -v newuidmap)"

Take the package name from that output and check its installed and candidate versions. Replace PACKAGE with the name reported above. On trixie, the installed version should be 1:4.17.4-2+deb13u1 or newer; if the candidate is newer than the installed version, the update is pending.

Show installed and candidate version of a package (Debian, read-only)Shell
apt-cache policy PACKAGE

What to do now

  1. Identify Debian 13 (trixie) hosts, starting with multi-user servers and container or CI hosts.
  2. Find the package that provides newuidmap and newgidmap with dpkg -S, as shown above.
  3. Refresh package lists and install the pending security updates so the package reaches 1:4.17.4-2+deb13u1 or newer.
  4. Confirm the installed version with apt-cache policy on the package dpkg -S reported.
  5. Review who has local shell access on affected hosts and remove accounts that are no longer needed.
  6. Check other Debian releases and derivatives against the security tracker, since the advisory only names trixie.

Run the following as root or with sudo. It refreshes the package index and upgrades all installed packages that have pending updates, which includes the fixed shadow packages. Afterwards, re-run apt-cache policy and look for the fixed version.

Apply pending updates (Debian, run as root or with sudo)Shell
apt update
apt upgrade

If you prefer to upgrade only the affected package, use the name reported by dpkg -S in place of PACKAGE:

Upgrade a single installed package only (Debian, run as root or with sudo)Shell
apt install --only-upgrade PACKAGE
Caution. Package upgrades change files on a live system. On remote servers, keep a second session open while you update, and test on a non-production host first if you can.

Detection and monitoring afterwards

Debian does not describe any indicators of exploitation, and the research does not report exploitation in the wild. A local denial of service via file corruption tends to show up as unexpected breakage rather than an alert, so watch for:

  • Unexplained changes or corruption in files that rootless container or user namespace tooling touches.
  • Failures of rootless containers or user namespace setup that began without a configuration change.
  • Unusual activity from low-privilege accounts that invoke newuidmap or newgidmap, visible in your audit or process logs if you collect them.

For internet-facing sites running on these hosts, keep outside-in checks going. A monitoring service such as Webforta Monitor can alert you to uptime and certificate changes, which helps you notice when a host problem turns into a visible outage. For wider hardening of small environments, the small business website security guide is a good checklist.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. [SECURITY] [DSA 6661-1] shadow security updatelists.debian.org ·
  • Debian
  • shadow
  • DSA
  • Linux
  • local denial of service
  • patching