CVE-2025-5054Race Condition in Canonical Apport
Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function `_check_global_pid_and_forward`, which detects if the crashing process resided in a container, was being called before `consistency_checks`, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. `consistency_checks` is now being called before `_check_global_pid_and_forward`. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | apport | Fixed | 2.28.1-0ubuntu3.6 | UBUNTU-CVE-2025-5054 |
| Ubuntu 22.04 | apport | Fixed | 2.20.11-0ubuntu82.7 | UBUNTU-CVE-2025-5054 |
| Ubuntu 20.04 | apport | Fixed | 2.20.11-0ubuntu27.28 | UBUNTU-CVE-2025-5054 |
| Ubuntu 18.04 | apport | Fix pending | 2.20.9-0ubuntu7.29+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-5054 |
| Ubuntu 16.04 | apport | Fix pending | 2.20.1-0ubuntu2.30+esm5 (Ubuntu Pro) | UBUNTU-CVE-2025-5054 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical Apport: affected: 2.20.1 to before 2.20.1-0ubuntu2.30+esm5, 2.20.9 to before 2.20.9-0ubuntu7.29+esm1, 2.20.11 to before 2.20.11-0ubuntu27.28, 2.20.11 to before 2.20.11-0ubuntu82.7, 2.28.1 to before 2.28.1-0ubuntu3.6, 2.30.0 to before 2.30.0-0ubuntu4.3; fixed in
2.20.1-0ubuntu2.30+esm5,2.20.9-0ubuntu7.29+esm1,2.20.11-0ubuntu27.28,2.20.11-0ubuntu82.7,2.28.1-0ubuntu3.6,2.30.0-0ubuntu4.3
Vendor advisories:
- https://ubuntu.com/security/notices/USN-7545-1 (vendor-advisory)
References
- https://ubuntu.com/security/notices/USN-7545-1
- https://ubuntu.com/security/CVE-2025-5054
- https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.