CVE-2025-5054 Details
Description
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).
A race condition vulnerability has been identified in Canonical Apport, the core-dump handler for Ubuntu, in versions through 2.32.0. This vulnerability allows local attackers to leak sensitive information by exploiting PID-reuse within namespaces. The issue arises when Apport handles a crash: the function '_check_global_pid_and_forward', which determines if the crashing process is in a container, is called before 'consistency_checks', which verifies if the process has been replaced. This timing flaw enables an attacker to crash a process, quickly replace it with a containerized one, and have Apport forward the core dump to the container, potentially disclosing sensitive data. The vulnerability has been addressed by reordering the function calls and modifying the conditions under which crashes are forwarded to containers.
Users can update to Apport versions 2.32.0-0ubuntu5.1 (Ubuntu 25.04), 2.30.0-0ubuntu4.3 (Ubuntu 24.10), 2.28.1-0ubuntu3.6 (Ubuntu 24.04 LTS), 2.20.11-0ubuntu82.7 (Ubuntu 22.04 LTS), 2.20.11-0ubuntu27.28 (Ubuntu 20.04 LTS), 2.20.9-0ubuntu7.29+esm1 (Ubuntu 18.04 LTS), or 2.20.1-0ubuntu2.30+esm5 (Ubuntu 16.04 LTS) to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://seclists.org/fulldisclosure/2025/Jun/9 | CVE | |
| https://ubuntu.com/security/CVE-2025-5054 | [email protected] | Third Party Advisory |
| https://ubuntu.com/security/notices/USN-7545-1 | [email protected] | Third Party Advisory |
| https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt | [email protected] | ExploitMitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| canonical apport | <= 2.32.0 |
CPE
Remediation
| |
| canonical ubuntu linux | 16.04 18.04 20.04 22.04 24.04 24.10 25.04 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 22, 2025 | Initial Analysis | [email protected] |
| May 30, 2025 | New CVE Received | [email protected] |